Enum fizyr_rpc::ReceivedMessage[][src]

pub enum ReceivedMessage<Body> {
    Request(ReceivedRequestHandle<Body>, Body),
    Stream(Message<Body>),
}
Expand description

An incoming request or stream message.

Variants

Request

An incoming request.

Tuple Fields of Request

0: ReceivedRequestHandle<Body>1: Body
Stream

An incoming stream message.

Tuple Fields of Stream

0: Message<Body>

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.