pub struct RestartWaitResult {
pub restarted: bool,
pub state: String,
pub elapsed_secs: u64,
}Expand description
ign restart --wait output model.
Fields§
§restarted: boolAlways true — the POST was accepted.
state: StringThe terminal state observed (RUNNING).
elapsed_secs: u64Seconds from the POST to the terminal state (floor included).
Trait Implementations§
Source§impl Debug for RestartWaitResult
impl Debug for RestartWaitResult
Auto Trait Implementations§
impl Freeze for RestartWaitResult
impl RefUnwindSafe for RestartWaitResult
impl Send for RestartWaitResult
impl Sync for RestartWaitResult
impl Unpin for RestartWaitResult
impl UnsafeUnpin for RestartWaitResult
impl UnwindSafe for RestartWaitResult
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