[][src]Trait dsf_rpc::Rpc

pub trait Rpc {
    type Error;
    pub 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

Loading content...

Required methods

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

Loading content...

Implementors

Loading content...