pub enum HnswSeedSource {
CommitDerived,
EnvOverride,
Fallback,
}Expand description
Origin of the HNSW build seed used for this run.
Variants§
CommitDerived
Seed was derived via BLAKE3(commit_cid || domain_sep).
EnvOverride
Seed came from MNEM_CANONICAL_HNSW_SEED env var.
Fallback
commit_cid.is_zero() path: bootstrap constant.
Trait Implementations§
Source§impl Clone for HnswSeedSource
impl Clone for HnswSeedSource
Source§fn clone(&self) -> HnswSeedSource
fn clone(&self) -> HnswSeedSource
Returns a duplicate of the value. Read more
1.0.0 · 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 HnswSeedSource
impl Debug for HnswSeedSource
Source§impl PartialEq for HnswSeedSource
impl PartialEq for HnswSeedSource
impl Copy for HnswSeedSource
impl Eq for HnswSeedSource
impl StructuralPartialEq for HnswSeedSource
Auto Trait Implementations§
impl Freeze for HnswSeedSource
impl RefUnwindSafe for HnswSeedSource
impl Send for HnswSeedSource
impl Sync for HnswSeedSource
impl Unpin for HnswSeedSource
impl UnsafeUnpin for HnswSeedSource
impl UnwindSafe for HnswSeedSource
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