Struct Chunk
pub struct Chunk {
pub segment: u64,
pub offset: u64,
pub bytes: Vec<u8>,
pub starts_segment: bool,
}Expand description
Bytes to write at offset of segment segment. A chunk that starts a
segment begins with its header block at offset 0.
Fields§
§segment: u64§offset: u64§bytes: Vec<u8>§starts_segment: boolTrait Implementations§
impl Eq for Chunk
impl StructuralPartialEq for Chunk
Auto Trait Implementations§
impl Forget for Chunk
impl Freeze for Chunk
impl Move for Chunk
impl RefUnwindSafe for Chunk
impl Send for Chunk
impl Sync for Chunk
impl Unpin for Chunk
impl UnsafeUnpin 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