Struct jsonrpc_test::Rpc[][src]

pub struct Rpc {
    pub io: IoHandler,
    pub options: Options,
}
Expand description

RPC instance.

Fields

io: IoHandler

Underlying IoHandler.

options: Options

Options

Implementations

Create a new RPC instance from a single delegate.

Perform a single, synchronous method call and return pretty-printed value

Perform a single, synchronous method call.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

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.