pub struct Superblock {
pub generation: u64,
pub manifest_offset: u64,
pub manifest_len: u32,
pub checkpoint_offset: u64,
pub checkpoint_len: u32,
pub checksum_kind: u8,
}Expand description
Fixed-layout block pointing at the manifest segment and carrying a monotonic generation.
Fields§
§generation: u64§manifest_offset: u64§manifest_len: u32§checkpoint_offset: u64§checkpoint_len: u32§checksum_kind: u8Implementations§
Trait Implementations§
Source§impl Clone for Superblock
impl Clone for Superblock
Source§fn clone(&self) -> Superblock
fn clone(&self) -> Superblock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Superblock
impl Debug for Superblock
Source§impl PartialEq for Superblock
impl PartialEq for Superblock
Source§fn eq(&self, other: &Superblock) -> bool
fn eq(&self, other: &Superblock) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Superblock
impl Eq for Superblock
impl StructuralPartialEq for Superblock
Auto Trait Implementations§
impl Freeze for Superblock
impl RefUnwindSafe for Superblock
impl Send for Superblock
impl Sync for Superblock
impl Unpin for Superblock
impl UnsafeUnpin for Superblock
impl UnwindSafe for Superblock
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