[][src]Trait dsf_rpc::Rpc

pub trait Rpc {
    type Error;
    fn exec(
        &mut self,
        req: Request
    ) -> Box<dyn Future<Output = Result<Response, Self::Error>>>; }

API trait implements RPC API for the daemon (or delegation)

Associated Types

type Error

Loading content...

Required methods

fn exec(
    &mut self,
    req: Request
) -> Box<dyn Future<Output = Result<Response, Self::Error>>>

Loading content...

Implementors

Loading content...