Struct kernel::process::StopWithDebugFaultPolicy
source · [−]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
sourceimpl ProcessFaultPolicy for StopWithDebugFaultPolicy
impl ProcessFaultPolicy for StopWithDebugFaultPolicy
sourcefn 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. Read more
Auto Trait Implementations
impl RefUnwindSafe for StopWithDebugFaultPolicy
impl Send for StopWithDebugFaultPolicy
impl Sync for StopWithDebugFaultPolicy
impl Unpin for StopWithDebugFaultPolicy
impl UnwindSafe for StopWithDebugFaultPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more