#[repr(u8)]pub enum ChangeIndication {
Ok = 0,
Warning = 1,
Critical = 2,
}Variants§
Ok = 0
Resource is in good condition, no intervention required
Warning = 1
Resource will be exhausted soon, intervention will shortly be required
Critical = 2
Resource is exhausted, immediate intervention is required
Implementations§
Trait Implementations§
Source§impl Clone for ChangeIndication
impl Clone for ChangeIndication
Source§fn clone(&self) -> ChangeIndication
fn clone(&self) -> ChangeIndication
Returns a duplicate 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 ChangeIndication
impl Debug for ChangeIndication
Source§impl<'de> Deserialize<'de> for ChangeIndication
impl<'de> Deserialize<'de> for ChangeIndication
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ChangeIndication> for u8
impl From<ChangeIndication> for u8
Source§fn from(val: ChangeIndication) -> Self
fn from(val: ChangeIndication) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChangeIndication
impl PartialEq for ChangeIndication
Source§impl Serialize for ChangeIndication
impl Serialize for ChangeIndication
impl Copy for ChangeIndication
impl Eq for ChangeIndication
impl StructuralPartialEq for ChangeIndication
Auto Trait Implementations§
impl Freeze for ChangeIndication
impl RefUnwindSafe for ChangeIndication
impl Send for ChangeIndication
impl Sync for ChangeIndication
impl Unpin for ChangeIndication
impl UnwindSafe for ChangeIndication
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