Struct jsonrpc_core::commander::AsyncMethod
[−]
[src]
pub struct AsyncMethod<F> where F: AsyncMethodCommand {
// some fields omitted
}
Asynchronous command wrapper
Methods
impl<F> AsyncMethod<F> where F: AsyncMethodCommand
[src]
fn new(command: F) -> Self
Create new asynchronous command wrapper
Trait Implementations
impl<F> MethodCommand for AsyncMethod<F> where F: AsyncMethodCommand
[src]
fn execute(&self, params: Params) -> MethodResult
Execute this method and get result (sync / async)