pub enum CoreInterrupt {
MachineSoft = 3,
MachineTimer = 7,
MachineExternal = 11,
}Expand description
Core interrupts. These interrupts are handled by the core itself.
Variants§
MachineSoft = 3
3 - Machine Software Interrupt
MachineTimer = 7
7 - Machine Timer Interrupt
MachineExternal = 11
11 - Machine External Interrupt
Trait Implementations§
Source§impl Clone for CoreInterrupt
impl Clone for CoreInterrupt
Source§fn clone(&self) -> CoreInterrupt
fn clone(&self) -> CoreInterrupt
Returns a duplicate 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 CoreInterrupt
impl Debug for CoreInterrupt
Source§impl InterruptNumber for CoreInterrupt
impl InterruptNumber for CoreInterrupt
Source§const MAX_INTERRUPT_NUMBER: usize = 11usize
const MAX_INTERRUPT_NUMBER: usize = 11usize
Highest number assigned to an interrupt source.
Source§fn from_number(number: usize) -> Result<CoreInterrupt, Error>
fn from_number(number: usize) -> Result<CoreInterrupt, Error>
Tries to convert a number to a valid interrupt.
Source§impl PartialEq for CoreInterrupt
impl PartialEq for CoreInterrupt
impl Copy for CoreInterrupt
impl CoreInterruptNumber for CoreInterrupt
impl Eq for CoreInterrupt
impl StructuralPartialEq for CoreInterrupt
Auto Trait Implementations§
impl Freeze for CoreInterrupt
impl RefUnwindSafe for CoreInterrupt
impl Send for CoreInterrupt
impl Sync for CoreInterrupt
impl Unpin for CoreInterrupt
impl UnwindSafe for CoreInterrupt
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