pub enum BloomPrecheck {
Inapplicable,
NotInGraph,
FilterNotPresent,
DefinitelyNot,
Maybe,
}Expand description
Result of consulting Bloom filters before running a tree diff (matches revision.c).
Variants§
Inapplicable
No commit-graph, pathspecs disallow Bloom, or wrong parent count — no statistics.
NotInGraph
Commit not in graph or generation unavailable — skip Bloom (-1 without filter_not_present).
FilterNotPresent
Bloom filter missing or unusable (filter_not_present in Git).
DefinitelyNot
Bloom says path cannot be in this commit (definitely_not).
Maybe
Bloom says maybe — caller must run diff and may count false_positive.
Trait Implementations§
Source§impl Clone for BloomPrecheck
impl Clone for BloomPrecheck
Source§fn clone(&self) -> BloomPrecheck
fn clone(&self) -> BloomPrecheck
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 BloomPrecheck
impl Debug for BloomPrecheck
Source§impl PartialEq for BloomPrecheck
impl PartialEq for BloomPrecheck
impl Copy for BloomPrecheck
impl Eq for BloomPrecheck
impl StructuralPartialEq for BloomPrecheck
Auto Trait Implementations§
impl Freeze for BloomPrecheck
impl RefUnwindSafe for BloomPrecheck
impl Send for BloomPrecheck
impl Sync for BloomPrecheck
impl Unpin for BloomPrecheck
impl UnsafeUnpin for BloomPrecheck
impl UnwindSafe for BloomPrecheck
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