pub type PubSubRPCMethod<'a> = Box<dyn Fn(Arc<Channel>, String, Value) -> Pin<Box<dyn Future<Output = RPCResult<Value>> + Send + Sync + 'a>> + Send + 'a>;
Expand description
Represents the RPC method
Aliased Typeยง
struct PubSubRPCMethod<'a>(/* private fields */);