pub enum CheckSeverity {
Skip,
Warn,
Fail,
}Expand description
How a server should treat one of its healthchecks, distilled from canopy’s operator-side configuration (the policy catalog and the silences) into a three-level device-facing vocabulary.
JSON schema
{
"description": "How a server should treat one of its healthchecks, distilled from\ncanopy's operator-side configuration (the policy catalog and the\nsilences) into a three-level device-facing vocabulary.",
"type": "string",
"enum": [
"skip",
"warn",
"fail"
]
}Variants§
Trait Implementations§
Source§impl Clone for CheckSeverity
impl Clone for CheckSeverity
Source§fn clone(&self) -> CheckSeverity
fn clone(&self) -> CheckSeverity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CheckSeverity
Source§impl Debug for CheckSeverity
impl Debug for CheckSeverity
Source§impl<'de> Deserialize<'de> for CheckSeverity
impl<'de> Deserialize<'de> for CheckSeverity
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 Display for CheckSeverity
impl Display for CheckSeverity
impl Eq for CheckSeverity
Source§impl FromStr for CheckSeverity
impl FromStr for CheckSeverity
Source§impl Hash for CheckSeverity
impl Hash for CheckSeverity
Source§impl Ord for CheckSeverity
impl Ord for CheckSeverity
Source§fn cmp(&self, other: &CheckSeverity) -> Ordering
fn cmp(&self, other: &CheckSeverity) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CheckSeverity
impl PartialEq for CheckSeverity
Source§impl PartialOrd for CheckSeverity
impl PartialOrd for CheckSeverity
Source§impl Serialize for CheckSeverity
impl Serialize for CheckSeverity
impl StructuralPartialEq for CheckSeverity
Source§impl TryFrom<&String> for CheckSeverity
impl TryFrom<&String> for CheckSeverity
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for CheckSeverity
impl TryFrom<&str> for CheckSeverity
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for CheckSeverity
impl TryFrom<String> for CheckSeverity
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CheckSeverity
impl RefUnwindSafe for CheckSeverity
impl Send for CheckSeverity
impl Sync for CheckSeverity
impl Unpin for CheckSeverity
impl UnsafeUnpin for CheckSeverity
impl UnwindSafe for CheckSeverity
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