pub struct RangeChunk {
pub range: ReadRange,
pub data: Vec<u8>,
}Expand description
One completed range and its data payload.
Fields§
§range: ReadRangeThe requested range metadata.
data: Vec<u8>Data read for the range. This may be shorter than the requested range at EOF.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RangeChunk
impl RefUnwindSafe for RangeChunk
impl Send for RangeChunk
impl Sync for RangeChunk
impl Unpin for RangeChunk
impl UnsafeUnpin for RangeChunk
impl UnwindSafe for RangeChunk
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