pub struct StopWithDebugFaultPolicy {}
Expand description
Stop the process and no longer schedule it if a process faults, but also print a debug message notifying the user that the process faulted and stopped.
Trait Implementations§
Source§impl ProcessFaultPolicy for StopWithDebugFaultPolicy
impl ProcessFaultPolicy for StopWithDebugFaultPolicy
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 StopWithDebugFaultPolicy
impl RefUnwindSafe for StopWithDebugFaultPolicy
impl Send for StopWithDebugFaultPolicy
impl Sync for StopWithDebugFaultPolicy
impl Unpin for StopWithDebugFaultPolicy
impl UnwindSafe for StopWithDebugFaultPolicy
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