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