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

Creates new IoDelegate

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.

Adds notification with metadata to the delegate.

Trait Implementations

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Extend given handler with additional methods.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.