Struct asynchronous_codec::FramedWriteParts[][src]

pub struct FramedWriteParts<T, E> {
    pub io: T,
    pub encoder: E,
    pub buffer: BytesMut,
    // some fields omitted
}
Expand description

The parts obtained from FramedWrite::into_parts.

Fields

io: T

The underlying I/O stream.

encoder: E

The frame encoder.

buffer: BytesMut

The framed data that has been buffered but not yet flushed to io.

Implementations

Changes the encoder used in FramedWriteParts.

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.