Enum nagiosplugin::ServiceState
source · pub enum ServiceState {
Ok,
Warning,
Critical,
Unknown,
}
Expand description
Represents the state of a service / resource.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ServiceState
impl Clone for ServiceState
source§fn clone(&self) -> ServiceState
fn clone(&self) -> ServiceState
Returns a copy 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 Default for ServiceState
impl Default for ServiceState
source§fn default() -> ServiceState
fn default() -> ServiceState
Returns the “default value” for a type. Read more
source§impl Display for ServiceState
impl Display for ServiceState
source§impl FromStr for ServiceState
impl FromStr for ServiceState
source§impl Ord for ServiceState
impl Ord for ServiceState
source§impl PartialEq for ServiceState
impl PartialEq for ServiceState
source§fn eq(&self, other: &ServiceState) -> bool
fn eq(&self, other: &ServiceState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ServiceState
impl PartialOrd for ServiceState
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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