[][src]Struct tokio::codec::FramedParts

pub struct FramedParts<T, U> {
    pub io: T,
    pub codec: U,
    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 codec

[]

The buffer with read but unprocessed data.

[]

A buffer with unprocessed data which are not written yet.

Methods

impl<T, U> FramedParts<T, U>
[src]
[]

[]

Create a new, default, FramedParts

Trait Implementations

impl<T, U> Debug for FramedParts<T, U> where
    T: Debug,
    U: Debug
[src]
[+]

[]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T, U> Send for FramedParts<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for FramedParts<T, U> where
    T: Sync,
    U: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]
[]

[]

Performs the conversion.

impl<T> From for T
[src]
[]

[]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]
[]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

[]

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]
[]

Important traits for &'a mut W
[]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]
[]

Important traits for &'a mut W
[]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]
[]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

[]

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]
[]

[]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Erased for T
[src]