pub struct PreemptGuard { /* private fields */ }Expand description
An RAII guard which disables kernel preemption while it is alive.
ⓘ
fn require_send<T: Send>() {}
require_send::<ax_sync::PreemptGuard>();Implementations§
Source§impl PreemptGuard
impl PreemptGuard
Trait Implementations§
Source§impl Default for PreemptGuard
impl Default for PreemptGuard
Source§impl Drop for PreemptGuard
impl Drop for PreemptGuard
Auto Trait Implementations§
impl !Send for PreemptGuard
impl !Sync for PreemptGuard
impl Freeze for PreemptGuard
impl RefUnwindSafe for PreemptGuard
impl Unpin for PreemptGuard
impl UnsafeUnpin for PreemptGuard
impl UnwindSafe for PreemptGuard
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