pub enum Algorithm {
Naive,
DatafrogOpt,
LocationInsensitive,
Compare,
Hybrid,
}
Variants§
Naive
Simple rules, but slower to execute
DatafrogOpt
Optimized variant of the rules
LocationInsensitive
Fast to compute, but imprecise: there can be false-positives but no false-negatives. Tailored for quick “early return” situations.
Compare
Compares the Naive
and DatafrogOpt
variants to ensure they indeed
compute the same errors.
Hybrid
Combination of the fast LocationInsensitive
pre-pass, followed by
the more expensive DatafrogOpt
variant.
Implementations§
Trait Implementations§
impl Copy for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
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