pub struct RestartFaultPolicy {}
Expand description
Always restart the process if it faults.
Trait Implementations§
Source§impl ProcessFaultPolicy for RestartFaultPolicy
impl ProcessFaultPolicy for RestartFaultPolicy
Source§fn action(&self, _: &dyn Process) -> FaultAction
fn action(&self, _: &dyn Process) -> FaultAction
Decide which action the kernel should take in response to
process
faulting.Auto Trait Implementations§
impl Freeze for RestartFaultPolicy
impl RefUnwindSafe for RestartFaultPolicy
impl Send for RestartFaultPolicy
impl Sync for RestartFaultPolicy
impl Unpin for RestartFaultPolicy
impl UnwindSafe for RestartFaultPolicy
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