Trait RpcServer

Source
pub trait RpcServer: Send + Sync {
    // Required methods
    fn invoke(&self, msg: KrpcMsg) -> KrpcFuture<KrpcMsg>;
    fn get_info(&self) -> (&str, &str, Option<&str>, Vec<String>);
}

Required Methods§

Source

fn invoke(&self, msg: KrpcMsg) -> KrpcFuture<KrpcMsg>

Source

fn get_info(&self) -> (&str, &str, Option<&str>, Vec<String>)

Implementors§