Struct fizyr_rpc::ReceivedRequestHandle[][src]

pub struct ReceivedRequestHandle<Body> { /* fields omitted */ }
Expand description

A handle for a received request.

The handle can be used to receive updates from the remote peer, and to send updates and the response to the remote peer.

Implementations

Get the request ID of the received request.

Get the service ID of the received request message.

Create a write handle for this request.

The write handle can be cloned and used even while this handle is mutably borrowed.

Receive the next update message of the request from the remote peer.

Send an update for the request to the remote peer.

Send the final response for the request to the remote peer.

Send the final response with an error 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.