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
inner: T
The inner transport used to read bytes to and write bytes to
readbuf: BytesMut
The buffer with read but unprocessed data.
writebuf: BytesMut
A buffer with unprocessed data which are not written yet.