pub struct Responder<T, R> { /* private fields */ }

Implementations

Wait for next request.

This function returns:

  • Some(message, response) - request received. message is data being sent, response is an object used to respond to request.
  • None - Requester is closed.

This is inherent method rather than Stream impl because for now there is no way to put lifetime in its Output.

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.

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.