pub enum ShutdownState {
Running = 0,
Draining = 1,
Terminated = 2,
}Expand description
Shutdown state enumeration.
Variants§
Running = 0
Agent is running normally.
Draining = 1
Agent is draining in-flight work.
Terminated = 2
Agent has terminated.
Trait Implementations§
Source§impl Clone for ShutdownState
impl Clone for ShutdownState
Source§fn clone(&self) -> ShutdownState
fn clone(&self) -> ShutdownState
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 ShutdownState
impl Debug for ShutdownState
Source§impl PartialEq for ShutdownState
impl PartialEq for ShutdownState
impl Copy for ShutdownState
impl Eq for ShutdownState
impl StructuralPartialEq for ShutdownState
Auto Trait Implementations§
impl Freeze for ShutdownState
impl RefUnwindSafe for ShutdownState
impl Send for ShutdownState
impl Sync for ShutdownState
impl Unpin for ShutdownState
impl UnwindSafe for ShutdownState
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