pub enum ReadinessStatus {
Ready,
NotReady,
}Expand description
The two readiness values this crate emits. An enum (rather than a bare
&'static str) so callers can’t construct a third, unintended status
value that this module’s response builders never produce.
Variants§
Trait Implementations§
Source§impl Clone for ReadinessStatus
impl Clone for ReadinessStatus
Source§fn clone(&self) -> ReadinessStatus
fn clone(&self) -> ReadinessStatus
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 ReadinessStatus
impl Debug for ReadinessStatus
Source§impl PartialEq for ReadinessStatus
impl PartialEq for ReadinessStatus
Source§fn eq(&self, other: &ReadinessStatus) -> bool
fn eq(&self, other: &ReadinessStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReadinessStatus
impl Serialize for ReadinessStatus
impl Copy for ReadinessStatus
impl Eq for ReadinessStatus
impl StructuralPartialEq for ReadinessStatus
Auto Trait Implementations§
impl Freeze for ReadinessStatus
impl RefUnwindSafe for ReadinessStatus
impl Send for ReadinessStatus
impl Sync for ReadinessStatus
impl Unpin for ReadinessStatus
impl UnsafeUnpin for ReadinessStatus
impl UnwindSafe for ReadinessStatus
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.