pub struct RecoveryOutcome {
pub recovered: bool,
pub reason: String,
pub attempt: Option<u64>,
pub delay_ms: Option<u64>,
}Expand description
Outcome of a recovery attempt; recovered is true only when the container
was started again.
Fields§
§recovered: bool§reason: String§attempt: Option<u64>§delay_ms: Option<u64>The --on-kill-resume-delay wait, when one is configured (issue #181).
Trait Implementations§
Source§impl Clone for RecoveryOutcome
impl Clone for RecoveryOutcome
Source§impl Debug for RecoveryOutcome
impl Debug for RecoveryOutcome
impl Eq for RecoveryOutcome
Source§impl PartialEq for RecoveryOutcome
impl PartialEq for RecoveryOutcome
impl StructuralPartialEq for RecoveryOutcome
Auto Trait Implementations§
impl Freeze for RecoveryOutcome
impl RefUnwindSafe for RecoveryOutcome
impl Send for RecoveryOutcome
impl Sync for RecoveryOutcome
impl Unpin for RecoveryOutcome
impl UnsafeUnpin for RecoveryOutcome
impl UnwindSafe for RecoveryOutcome
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