pub trait RpcHandler<T: RpcMessage> {
    type Result: Future<Output = <RpcEnvelope<T> as Message>::Result> + 'static;
    fn handle(&mut self, caller: String, msg: T) -> Self::Result;
}

Associated Types

Required methods

Implementors