pub struct HierarchyConfig {
pub log_chunk_size: u8,
pub level_hash_seed: u64,
}Expand description
Deterministic hierarchy promotion configuration.
Fields§
§log_chunk_size: u8Number of leading hash bits consumed per promotion level.
level_hash_seed: u64Seed for deterministic key promotion.
Trait Implementations§
Source§impl Clone for HierarchyConfig
impl Clone for HierarchyConfig
Source§fn clone(&self) -> HierarchyConfig
fn clone(&self) -> HierarchyConfig
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 HierarchyConfig
impl Debug for HierarchyConfig
Source§impl Default for HierarchyConfig
impl Default for HierarchyConfig
impl Eq for HierarchyConfig
Source§impl PartialEq for HierarchyConfig
impl PartialEq for HierarchyConfig
impl StructuralPartialEq for HierarchyConfig
Auto Trait Implementations§
impl Freeze for HierarchyConfig
impl RefUnwindSafe for HierarchyConfig
impl Send for HierarchyConfig
impl Sync for HierarchyConfig
impl Unpin for HierarchyConfig
impl UnsafeUnpin for HierarchyConfig
impl UnwindSafe for HierarchyConfig
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<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