Trait ya_service_bus::RpcHandler [−][src]
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; }
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; }