pub enum ReadinessState {
NotReady = 0,
Ready = 1,
ShuttingDown = 2,
}Expand description
Readiness state used by Readiness.
Variants§
NotReady = 0
The application is not ready to receive traffic.
Ready = 1
The application is ready to receive traffic.
ShuttingDown = 2
The application is shutting down and should stop receiving traffic.
Trait Implementations§
Source§impl Clone for ReadinessState
impl Clone for ReadinessState
Source§fn clone(&self) -> ReadinessState
fn clone(&self) -> ReadinessState
Returns a duplicate 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 ReadinessState
impl Debug for ReadinessState
Source§impl PartialEq for ReadinessState
impl PartialEq for ReadinessState
impl Copy for ReadinessState
impl Eq for ReadinessState
impl StructuralPartialEq for ReadinessState
Auto Trait Implementations§
impl Freeze for ReadinessState
impl RefUnwindSafe for ReadinessState
impl Send for ReadinessState
impl Sync for ReadinessState
impl Unpin for ReadinessState
impl UnwindSafe for ReadinessState
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