logo
pub struct ResponseChannel<TResponse> { /* private fields */ }
Expand description

A channel for sending a response to an inbound request.

See RequestResponse::send_response.

Implementations

Checks whether the response channel is still open, i.e. the RequestResponse behaviour is still waiting for a a response to be sent via RequestResponse::send_response and this response channel.

If the response channel is no longer open then the inbound request timed out waiting for the response.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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.