pub enum LimitLevel {
Ok,
Warn,
Refuse,
}Expand description
Limit level of a verdict.
Variants§
Ok
Inside the soft limit.
Warn
Over the soft limit but under the hard limit.
Refuse
Over the hard limit.
Implementations§
Trait Implementations§
Source§impl Clone for LimitLevel
impl Clone for LimitLevel
impl Copy for LimitLevel
Source§impl Debug for LimitLevel
impl Debug for LimitLevel
impl Eq for LimitLevel
Source§impl PartialEq for LimitLevel
impl PartialEq for LimitLevel
impl StructuralPartialEq for LimitLevel
Auto Trait Implementations§
impl Forget for LimitLevel
impl Freeze for LimitLevel
impl Move for LimitLevel
impl RefUnwindSafe for LimitLevel
impl Send for LimitLevel
impl Sync for LimitLevel
impl Unpin for LimitLevel
impl UnsafeUnpin for LimitLevel
impl UnwindSafe for LimitLevel
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more