pub enum IrqAffinity {
Any,
Fixed(CpuId),
}Expand description
Hardware routing preference for an IRQ line.
Variants§
Any
The platform may route the line to any CPU.
Fixed(CpuId)
Route the line to one fixed logical CPU.
Trait Implementations§
Source§impl Clone for IrqAffinity
impl Clone for IrqAffinity
Source§fn clone(&self) -> IrqAffinity
fn clone(&self) -> IrqAffinity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IrqAffinity
Source§impl Debug for IrqAffinity
impl Debug for IrqAffinity
impl Eq for IrqAffinity
Source§impl PartialEq for IrqAffinity
impl PartialEq for IrqAffinity
impl StructuralPartialEq for IrqAffinity
Auto Trait Implementations§
impl Freeze for IrqAffinity
impl RefUnwindSafe for IrqAffinity
impl Send for IrqAffinity
impl Sync for IrqAffinity
impl Unpin for IrqAffinity
impl UnsafeUnpin for IrqAffinity
impl UnwindSafe for IrqAffinity
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