Struct r3::kernel::interrupt::StaticInterruptHandler
source · pub struct StaticInterruptHandler<System>(_)
where
System: KernelInterruptLine;
Expand description
Represents a registered (second-level) interrupt handler in a system.
There are no operations defined for interrupt handlers, so this type is only used for static configuration.
Implementations
sourceimpl<System> StaticInterruptHandler<System>where
System: KernelInterruptLine,
impl<System> StaticInterruptHandler<System>where
System: KernelInterruptLine,
sourcepub const fn define() -> InterruptHandlerDefiner<System>
pub const fn define() -> InterruptHandlerDefiner<System>
Construct a InterruptHandlerDefiner
to define an interrupt handler in
a configuration function.
Trait Implementations
sourceimpl<System> Clone for StaticInterruptHandler<System>where
System: KernelInterruptLine,
impl<System> Clone for StaticInterruptHandler<System>where
System: KernelInterruptLine,
sourcefn clone(&self) -> StaticInterruptHandler<System>
fn clone(&self) -> StaticInterruptHandler<System>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<System> Debug for StaticInterruptHandler<System>where
System: KernelInterruptLine,
impl<System> Debug for StaticInterruptHandler<System>where
System: KernelInterruptLine,
impl<System> Copy for StaticInterruptHandler<System>where
System: KernelInterruptLine,
Auto Trait Implementations
impl<System> RefUnwindSafe for StaticInterruptHandler<System>
impl<System> Send for StaticInterruptHandler<System>
impl<System> Sync for StaticInterruptHandler<System>
impl<System> Unpin for StaticInterruptHandler<System>
impl<System> UnwindSafe for StaticInterruptHandler<System>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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