[][src]Trait s_jsonrpc_core::RpcMsod

pub trait RpcMsod<T: Metadata>: Send + Sync + 'static {
    fn call(&self, params: Params, meta: T) -> BoxFuture<Value>;
}

Asynchronous Msod with Metadata

Required methods

fn call(&self, params: Params, meta: T) -> BoxFuture<Value>

Call msod

Loading content...

Implementors

impl<F: Send + Sync + 'static, X: Send + 'static, T, I> RpcMsod<T> for F where
    T: Metadata,
    F: Fn(Params, T) -> I,
    I: IntoFuture<Item = Value, Error = Error, Future = X>,
    X: Future<Item = Value, Error = Error>, 
[src]

Loading content...