pub enum DetectionConfidence {
Certain,
High,
Heuristic,
}Expand description
Coarse confidence attached to a classification decision.
Variants§
Certain
Exact filename, extension, or known binary format.
High
A conventional shebang interpreter.
Heuristic
A bounded content heuristic rather than a named format rule.
Implementations§
Trait Implementations§
Source§impl Clone for DetectionConfidence
impl Clone for DetectionConfidence
impl Copy for DetectionConfidence
Source§impl Debug for DetectionConfidence
impl Debug for DetectionConfidence
impl Eq for DetectionConfidence
Source§impl Hash for DetectionConfidence
impl Hash for DetectionConfidence
Source§impl Ord for DetectionConfidence
impl Ord for DetectionConfidence
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DetectionConfidence
impl PartialEq for DetectionConfidence
Source§impl PartialOrd for DetectionConfidence
impl PartialOrd for DetectionConfidence
impl StructuralPartialEq for DetectionConfidence
Auto Trait Implementations§
impl Freeze for DetectionConfidence
impl RefUnwindSafe for DetectionConfidence
impl Send for DetectionConfidence
impl Sync for DetectionConfidence
impl Unpin for DetectionConfidence
impl UnsafeUnpin for DetectionConfidence
impl UnwindSafe for DetectionConfidence
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