pub enum ServiceState {
OK,
WARNING,
CRITICAL,
UNKNOWN,
}Variants§
Trait Implementations§
Source§impl Clone for ServiceState
impl Clone for ServiceState
Source§fn clone(&self) -> ServiceState
fn clone(&self) -> ServiceState
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 ServiceState
impl Debug for ServiceState
Source§impl<'de> Deserialize<'de> for ServiceState
impl<'de> Deserialize<'de> for ServiceState
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<ServiceState> for f64
impl From<ServiceState> for f64
Source§fn from(s: ServiceState) -> Self
fn from(s: ServiceState) -> Self
Converts to this type from the input type.
Source§impl From<ServiceState> for u8
impl From<ServiceState> for u8
Source§fn from(s: ServiceState) -> Self
fn from(s: ServiceState) -> Self
Converts to this type from the input type.
Source§impl Ord for ServiceState
impl Ord for ServiceState
Source§fn cmp(&self, other: &ServiceState) -> Ordering
fn cmp(&self, other: &ServiceState) -> 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 for ServiceState
impl PartialEq for ServiceState
Source§impl PartialOrd for ServiceState
impl PartialOrd for ServiceState
Source§impl Serialize for ServiceState
impl Serialize for ServiceState
Source§impl TryFrom<f64> for ServiceState
impl TryFrom<f64> for ServiceState
Source§impl TryFrom<u8> for ServiceState
impl TryFrom<u8> for ServiceState
impl Copy for ServiceState
impl Eq for ServiceState
impl StructuralPartialEq for ServiceState
Auto Trait Implementations§
impl Freeze for ServiceState
impl RefUnwindSafe for ServiceState
impl Send for ServiceState
impl Sync for ServiceState
impl Unpin for ServiceState
impl UnwindSafe for ServiceState
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.