Struct actix_net::codec::FramedParts2[][src]

pub struct FramedParts2<T, D, E> {
    pub io: T,
    pub decoder: D,
    pub encoder: E,
    pub read_buf: BytesMut,
    pub write_buf: BytesMut,
    // some fields omitted
}

FramedParts contains an export of the data of a Framed transport. It can be used to construct a new Framed with a different codec. It contains all current buffers and the inner transport.

Fields

The inner transport used to read bytes to and write bytes to

The decoder

The encoder

The buffer with read but unprocessed data.

A buffer with unprocessed data which are not written yet.

Methods

impl<T, D, E> FramedParts2<T, D, E>
[src]

Create a new, default, FramedParts

Trait Implementations

impl<T: Debug, D: Debug, E: Debug> Debug for FramedParts2<T, D, E>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T, D, E> Send for FramedParts2<T, D, E> where
    D: Send,
    E: Send,
    T: Send

impl<T, D, E> Sync for FramedParts2<T, D, E> where
    D: Sync,
    E: Sync,
    T: Sync