pub struct PreemptIrqSaveGuard { /* private fields */ }Expand description
An RAII guard which disables preemption and local interrupts.
Entry disables preemption before interrupts. Drop restores interrupts before re-enabling preemption.
ⓘ
fn require_send<T: Send>() {}
require_send::<ax_sync::PreemptIrqSaveGuard>();Implementations§
Trait Implementations§
Source§impl Default for PreemptIrqSaveGuard
impl Default for PreemptIrqSaveGuard
Source§impl Drop for PreemptIrqSaveGuard
impl Drop for PreemptIrqSaveGuard
Auto Trait Implementations§
impl !Send for PreemptIrqSaveGuard
impl !Sync for PreemptIrqSaveGuard
impl Freeze for PreemptIrqSaveGuard
impl RefUnwindSafe for PreemptIrqSaveGuard
impl Unpin for PreemptIrqSaveGuard
impl UnsafeUnpin for PreemptIrqSaveGuard
impl UnwindSafe for PreemptIrqSaveGuard
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