Struct kernel_guard::NoPreempt
source · pub struct NoPreempt;
Expand description
A guard that disables/enables kernel preemption around the critical section.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for NoPreempt
impl Send for NoPreempt
impl Sync for NoPreempt
impl Unpin for NoPreempt
impl UnwindSafe for NoPreempt
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