pub enum LivenessStatus {
Ok,
}Expand description
The one liveness value this crate emits. An enum (rather than a bare
&'static str) so a second construction site can’t drift to an
unintended value — mirrors ReadinessStatus below.
Variants§
Ok
Trait Implementations§
Source§impl Clone for LivenessStatus
impl Clone for LivenessStatus
Source§fn clone(&self) -> LivenessStatus
fn clone(&self) -> LivenessStatus
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 LivenessStatus
impl Debug for LivenessStatus
Source§impl PartialEq for LivenessStatus
impl PartialEq for LivenessStatus
Source§fn eq(&self, other: &LivenessStatus) -> bool
fn eq(&self, other: &LivenessStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LivenessStatus
impl Serialize for LivenessStatus
impl Copy for LivenessStatus
impl Eq for LivenessStatus
impl StructuralPartialEq for LivenessStatus
Auto Trait Implementations§
impl Freeze for LivenessStatus
impl RefUnwindSafe for LivenessStatus
impl Send for LivenessStatus
impl Sync for LivenessStatus
impl Unpin for LivenessStatus
impl UnsafeUnpin for LivenessStatus
impl UnwindSafe for LivenessStatus
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.