Struct quinn_proto::Chunk
source · pub struct Chunk {
pub offset: u64,
pub bytes: Bytes,
}
Expand description
A chunk of data from the receive stream
Fields§
§offset: u64
The offset in the stream
bytes: Bytes
The contents of the chunk
Trait Implementations§
source§impl PartialEq for Chunk
impl PartialEq for Chunk
impl Eq for Chunk
impl StructuralEq for Chunk
impl StructuralPartialEq for Chunk
Auto Trait Implementations§
impl RefUnwindSafe for Chunk
impl Send for Chunk
impl Sync for Chunk
impl Unpin for Chunk
impl UnwindSafe for Chunk
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