pub struct ShutdownReport {
pub graceful_requested: bool,
pub graceful_acknowledged: bool,
pub killed: bool,
pub exit_code: Option<i32>,
}Expand description
What DaemonLifecycle::shutdown_owned did.
Fields§
§graceful_requested: boolA graceful request was configured, the host was confirmed current, and it was sent.
graceful_acknowledged: boolThe host acknowledged the graceful request (it may also drop the connection instead).
killed: boolThe process tree had to be killed after the grace period.
exit_code: Option<i32>The launched process’s exit code, when it has one.
Trait Implementations§
Source§impl Clone for ShutdownReport
impl Clone for ShutdownReport
Source§impl Debug for ShutdownReport
impl Debug for ShutdownReport
impl Eq for ShutdownReport
Source§impl PartialEq for ShutdownReport
impl PartialEq for ShutdownReport
impl StructuralPartialEq for ShutdownReport
Auto Trait Implementations§
impl Freeze for ShutdownReport
impl RefUnwindSafe for ShutdownReport
impl Send for ShutdownReport
impl Sync for ShutdownReport
impl Unpin for ShutdownReport
impl UnsafeUnpin for ShutdownReport
impl UnwindSafe for ShutdownReport
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