DEVELOPMENT ENVIRONMENT

~liljamo/emerwen

ref: 5d06034fa4cfa5f508c43edfa532d1ddcb54beec emerwen/emerwen-protocol/src/lib.rs -rw-r--r-- 303 bytes
5d06034fJonni Liljamo feat: kinda MVP 12 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)
    }
}