Enum tiger_lib::Confidence
source · pub enum Confidence {
Weak,
Reasonable,
Strong,
}Expand description
Mostly invisible in the output. User can filter by minimum confidence level. This would be a dial for how many false positives they’re willing to put up with.
The order of these enum values determines the level of confidence they denote. Do not change the order unless you mean to change the logic of the program!
Variants§
Weak
Quite likely to be a false positive.
Reasonable
Reasonably confident that the problem is real.
Strong
Very confident that this problem is real.
Trait Implementations§
source§impl Clone for Confidence
impl Clone for Confidence
source§fn clone(&self) -> Confidence
fn clone(&self) -> Confidence
Returns a copy 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 Confidence
impl Debug for Confidence
source§impl Default for Confidence
impl Default for Confidence
source§fn default() -> Confidence
fn default() -> Confidence
Returns the “default value” for a type. Read more
source§impl<'_derivative_strum> From<&'_derivative_strum Confidence> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum Confidence> for &'static str
source§fn from(x: &'_derivative_strum Confidence) -> &'static str
fn from(x: &'_derivative_strum Confidence) -> &'static str
Converts to this type from the input type.
source§impl From<Confidence> for &'static str
impl From<Confidence> for &'static str
source§fn from(x: Confidence) -> &'static str
fn from(x: Confidence) -> &'static str
Converts to this type from the input type.
source§impl FromStr for Confidence
impl FromStr for Confidence
source§impl Hash for Confidence
impl Hash for Confidence
source§impl IntoEnumIterator for Confidence
impl IntoEnumIterator for Confidence
source§impl Ord for Confidence
impl Ord for Confidence
source§fn cmp(&self, other: &Confidence) -> Ordering
fn cmp(&self, other: &Confidence) -> Ordering
1.21.0 · 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
source§impl PartialEq<Confidence> for Confidence
impl PartialEq<Confidence> for Confidence
source§fn eq(&self, other: &Confidence) -> bool
fn eq(&self, other: &Confidence) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<Confidence> for Confidence
impl PartialOrd<Confidence> for Confidence
source§fn partial_cmp(&self, other: &Confidence) -> Option<Ordering>
fn partial_cmp(&self, other: &Confidence) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for Confidence
impl Serialize for Confidence
source§impl TryFrom<&str> for Confidence
impl TryFrom<&str> for Confidence
impl Copy for Confidence
impl Eq for Confidence
impl StructuralEq for Confidence
impl StructuralPartialEq for Confidence
Auto Trait Implementations§
impl RefUnwindSafe for Confidence
impl Send for Confidence
impl Sync for Confidence
impl Unpin for Confidence
impl UnwindSafe for Confidence
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> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere T: AsAny + ?Sized,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().