pub enum ContextWarning {
Warning(f64),
Critical(f64),
}Variants§
Implementations§
Source§impl ContextWarning
impl ContextWarning
pub fn percentage(&self) -> f64
pub fn is_critical(&self) -> bool
Trait Implementations§
Source§impl Clone for ContextWarning
impl Clone for ContextWarning
impl Copy for ContextWarning
Auto Trait Implementations§
impl Forget for ContextWarning
impl Freeze for ContextWarning
impl RefUnwindSafe for ContextWarning
impl Send for ContextWarning
impl Sync for ContextWarning
impl Unpin for ContextWarning
impl UnsafeUnpin for ContextWarning
impl UnwindSafe for ContextWarning
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