Struct jsonrpc_core::delegates::IoDelegate [−][src]
pub struct IoDelegate<T, M = ()> where
T: Send + Sync + 'static,
M: Metadata, { /* fields omitted */ }
Expand description
A set of RPC methods and notifications tied to single delegate
struct.
Implementations
Adds an alias to existing method. NOTE: Aliases are not transitive, i.e. you cannot create alias to an alias.
Adds async method to the delegate.
Adds async method with metadata to the delegate.
Adds notification to the delegate.
Trait Implementations
impl<T, M> IoHandlerExtension<M> for IoDelegate<T, M> where
T: Send + Sync + 'static,
M: Metadata,
[src]
impl<T, M> IoHandlerExtension<M> for IoDelegate<T, M> where
T: Send + Sync + 'static,
M: Metadata,
[src]Extend given handler
with additional methods.
Auto Trait Implementations
impl<T, M = ()> !RefUnwindSafe for IoDelegate<T, M>
impl<T, M> Send for IoDelegate<T, M>
impl<T, M> Sync for IoDelegate<T, M>
impl<T, M> Unpin for IoDelegate<T, M>
impl<T, M = ()> !UnwindSafe for IoDelegate<T, M>