Struct abyss::interrupt::InterruptGuard
source · pub struct InterruptGuard { /* private fields */ }
Expand description
An RAII implementation of an interrupt disable. When this structure is dropped (falls out of scope), the interrupt will be recovered into state on creation of this struct. Therefore, you must dropped the this struct in reverse of creation order.
This structure is created by the new
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for InterruptGuard
impl Send for InterruptGuard
impl Sync for InterruptGuard
impl Unpin for InterruptGuard
impl UnwindSafe for InterruptGuard
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more