pub enum LossCategory {
AllowFalseNegative,
ValidateCost,
RejectFalsePositive,
}Expand description
Categories of loss that can be observed.
Variants§
AllowFalseNegative
We allowed an incompatible operation (false negative).
ValidateCost
We paid validation cost.
RejectFalsePositive
We rejected a compatible operation (false positive).
Trait Implementations§
Source§impl Clone for LossCategory
impl Clone for LossCategory
Source§fn clone(&self) -> LossCategory
fn clone(&self) -> LossCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LossCategory
Source§impl Debug for LossCategory
impl Debug for LossCategory
impl Eq for LossCategory
Source§impl Hash for LossCategory
impl Hash for LossCategory
Source§impl PartialEq for LossCategory
impl PartialEq for LossCategory
Source§fn eq(&self, other: &LossCategory) -> bool
fn eq(&self, other: &LossCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LossCategory
Auto Trait Implementations§
impl Freeze for LossCategory
impl RefUnwindSafe for LossCategory
impl Send for LossCategory
impl Sync for LossCategory
impl Unpin for LossCategory
impl UnsafeUnpin for LossCategory
impl UnwindSafe for LossCategory
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