use target::{Method, MethodGet, MethodPing};
tonic::include_proto!("emerwen");
impl From<MethodPing> for Method {
fn from(value: MethodPing) -> Self {
Method::Ping(value)
}
}
impl From<MethodGet> for Method {
fn from(value: MethodGet) -> Self {
Method::Get(value)
}
}