pub struct ShutdownResult {
pub draining: bool,
}Fields§
§draining: boolAlways true on a successful shutdown verb — the daemon has
observed the trigger and is in the soft-drain phase. Operators
should follow up by waiting on the vaned process exit.
Trait Implementations§
Source§impl Clone for ShutdownResult
impl Clone for ShutdownResult
Source§fn clone(&self) -> ShutdownResult
fn clone(&self) -> ShutdownResult
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 ShutdownResult
impl Debug for ShutdownResult
Source§impl<'de> Deserialize<'de> for ShutdownResult
impl<'de> Deserialize<'de> for ShutdownResult
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 ShutdownResult
impl PartialEq for ShutdownResult
Source§fn eq(&self, other: &ShutdownResult) -> bool
fn eq(&self, other: &ShutdownResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ShutdownResult
impl Serialize for ShutdownResult
impl Eq for ShutdownResult
impl StructuralPartialEq for ShutdownResult
Auto Trait Implementations§
impl Freeze for ShutdownResult
impl RefUnwindSafe for ShutdownResult
impl Send for ShutdownResult
impl Sync for ShutdownResult
impl Unpin for ShutdownResult
impl UnsafeUnpin for ShutdownResult
impl UnwindSafe for ShutdownResult
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