pub trait HandleRpc {
    // Required method
    fn handle_rpc(&mut self, command: &RPCCommand) -> Box<dyn Handler>;
}

Required Methods§

source

fn handle_rpc(&mut self, command: &RPCCommand) -> Box<dyn Handler>

| Register handler for RPC. Command is not | copied, so reference needs to remain valid | until Handler is disconnected.

Implementors§