Struct tokio_io::codec::FramedParts [] [src]

pub struct FramedParts<T> {
    pub inner: T,
    pub readbuf: BytesMut,
    pub writebuf: BytesMut,
}

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 buffer with read but unprocessed data.

A buffer with unprocessed data which are not written yet.

Trait Implementations

impl<T: Debug> Debug for FramedParts<T>
[src]

[src]

Formats the value using the given formatter.