pub enum InterruptDestination {
SpecificCpu(CpuId),
AllOtherCpus,
}
Expand description
The CPU where an interrupt should be handled, as well as the local interrupt number this gets translated to.
On aarch64, there is no local_number
field as the system interrupt
number and the local interrupt number must be the same.
Variants§
Trait Implementations§
source§impl Clone for InterruptDestination
impl Clone for InterruptDestination
source§fn clone(&self) -> InterruptDestination
fn clone(&self) -> InterruptDestination
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InterruptDestination
impl Debug for InterruptDestination
impl Copy for InterruptDestination
Auto Trait Implementations§
impl RefUnwindSafe for InterruptDestination
impl Send for InterruptDestination
impl Sync for InterruptDestination
impl Unpin for InterruptDestination
impl UnwindSafe for InterruptDestination
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