Struct jsonrpc_macros::IoDelegate [] [src]

pub struct IoDelegate<T, M = ()> where
    T: Send + Sync + 'static,
    M: Metadata
{ /* fields omitted */ }

A set of RPC methods and notifications tied to single delegate struct.

Methods

impl<T, M> IoDelegate<T, M> where
    T: Send + Sync + 'static,
    M: Metadata
[src]

Creates new IoDelegate

Trait Implementations

impl<T, M> Into<HashMap<String, RemoteProcedure<M>>> for IoDelegate<T, M> where
    T: Send + Sync + 'static,
    M: Metadata
[src]

Performs the conversion.