Struct kernel::irq::Descriptor
source · [−]pub struct Descriptor { /* private fields */ }
Expand description
Implementations
sourceimpl Descriptor
impl Descriptor
sourcepub fn enter_chained(&self) -> ChainedGuard<'_>
pub fn enter_chained(&self) -> ChainedGuard<'_>
Calls chained_irq_enter
and returns a guard that calls chained_irq_exit
once dropped.
It is meant to be used by chained irq handlers to dispatch irqs to the next handlers.
Auto Trait Implementations
impl RefUnwindSafe for Descriptor
impl !Send for Descriptor
impl !Sync for Descriptor
impl Unpin for Descriptor
impl UnwindSafe for Descriptor
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