Struct fizyr_rpc::Message[][src]

pub struct Message<Body> {
    pub header: MessageHeader,
    pub body: Body,
}
Expand description

A complete RPC message, including header and body.

Fields

header: MessageHeader

The header of the message.

body: Body

The body of the message.

Implementations

Create a new message with a header and a body.

Create a new request message.

Create a new response message.

Create a new error response message.

Create a new requester update message.

Create a new responder update message.

Create a new stream message.

Trait Implementations

Formats the value using the given formatter. Read more

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.