pub struct ContainerManifestHeader {
pub k: u16,
pub minimizer_len: u16,
pub graph_count: usize,
pub colored: bool,
pub label_words: usize,
pub compressed: bool,
pub interleaved_compression: bool,
pub segment_bytes: u64,
pub container_count: usize,
}Expand description
The parameters every bucket in a container directory shares.
This is the 42-byte per-bucket header, hoisted. Under the per-file layout it was written once per bucket and then re-read and revalidated on every 64 KiB flush, because a flush reopened the file to append. Stored once for the whole directory, that disappears; the only genuinely per-bucket field was the record count, which the manifest already carried.
Fields§
§k: u16§minimizer_len: u16§graph_count: usize§colored: bool§label_words: usize§compressed: bool§interleaved_compression: bool§segment_bytes: u64§container_count: usizeTrait Implementations§
Source§impl Clone for ContainerManifestHeader
impl Clone for ContainerManifestHeader
Source§fn clone(&self) -> ContainerManifestHeader
fn clone(&self) -> ContainerManifestHeader
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 ContainerManifestHeader
impl Debug for ContainerManifestHeader
impl Eq for ContainerManifestHeader
Source§impl PartialEq for ContainerManifestHeader
impl PartialEq for ContainerManifestHeader
impl StructuralPartialEq for ContainerManifestHeader
Auto Trait Implementations§
impl Freeze for ContainerManifestHeader
impl RefUnwindSafe for ContainerManifestHeader
impl Send for ContainerManifestHeader
impl Sync for ContainerManifestHeader
impl Unpin for ContainerManifestHeader
impl UnsafeUnpin for ContainerManifestHeader
impl UnwindSafe for ContainerManifestHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more