[][src]Trait xi_rpc::Callback

pub trait Callback: Send {
    fn call(self: Box<Self>, result: Result<Value, Error>);
}

Required methods

fn call(self: Box<Self>, result: Result<Value, Error>)

Loading content...

Implementors

impl<F: Send + FnOnce(Result<Value, Error>)> Callback for F[src]

Loading content...