pub struct Receiver { /* private fields */ }
Expand description

A Receiver that wraps a Reader and provides a default implementation using DataFrames and Messages.

Implementations

Create a new Receiver using the specified Reader.

Trait Implementations

Reads a single data frame from the remote endpoint.

Returns the data frames that constitute one message.

The type of dataframe that incoming messages will be serialized to.
The type of message that incoming messages will be serialized to.
Returns an iterator over incoming data frames.
Reads a single message from this receiver.
Returns an iterator over incoming messages.

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.
Get the TypeId of this object.