Struct spaniel::frames::Data[][src]

pub struct Data<B = Bytes> {
    pub stream_id: StreamId,
    pub seq_num: u32,
    pub payload: B,
}

Fields

Methods

impl Data
[src]

Consumes this frame and returns the raw payload buffer

Trait Implementations

impl<B: Debug> Debug for Data<B>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<B> Send for Data<B> where
    B: Send

impl<B> Sync for Data<B> where
    B: Sync