pub struct Chunk {
pub metadata: ChunkMetadata,
pub data: Bytes,
}Expand description
A chunk of file data
Fields§
§metadata: ChunkMetadataMetadata about this chunk
data: BytesThe actual data (compressed and/or encrypted)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Chunk
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