#[non_exhaustive]pub enum HealthCheckMode {
Passive,
Verified,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for HealthCheckMode
impl Clone for HealthCheckMode
Source§fn clone(&self) -> HealthCheckMode
fn clone(&self) -> HealthCheckMode
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 moreSource§impl Debug for HealthCheckMode
impl Debug for HealthCheckMode
Source§impl<'de> Deserialize<'de> for HealthCheckMode
impl<'de> Deserialize<'de> for HealthCheckMode
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 PartialEq for HealthCheckMode
impl PartialEq for HealthCheckMode
Source§fn eq(&self, other: &HealthCheckMode) -> bool
fn eq(&self, other: &HealthCheckMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HealthCheckMode
impl Serialize for HealthCheckMode
impl Copy for HealthCheckMode
impl Eq for HealthCheckMode
impl StructuralPartialEq for HealthCheckMode
Auto Trait Implementations§
impl Freeze for HealthCheckMode
impl RefUnwindSafe for HealthCheckMode
impl Send for HealthCheckMode
impl Sync for HealthCheckMode
impl Unpin for HealthCheckMode
impl UnsafeUnpin for HealthCheckMode
impl UnwindSafe for HealthCheckMode
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§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.