RpcFunc

Type Alias RpcFunc 

Source
pub type RpcFunc<'a> = Box<dyn Fn(Option<WampArgs>, Option<WampKwArgs>) -> RpcFuture<'a> + Send + Sync + 'a>;
Expand description

Generic function that can receive RPC calls

Aliased Typeยง

pub struct RpcFunc<'a>(/* private fields */);