pub struct Data<B = Bytes> {
pub stream_id: StreamId,
pub seq_num: u32,
pub payload: B,
}
Fields§
§stream_id: StreamId
§seq_num: u32
§payload: B
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Data<B>where
B: Freeze,
impl<B> RefUnwindSafe for Data<B>where
B: RefUnwindSafe,
impl<B> Send for Data<B>where
B: Send,
impl<B> Sync for Data<B>where
B: Sync,
impl<B> Unpin for Data<B>where
B: Unpin,
impl<B> UnwindSafe for Data<B>where
B: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more