pub enum InterruptError {
InvalidInterruptId,
InvalidCpuId,
ControllerNotFound,
HandlerAlreadyRegistered,
HandlerNotFound,
InvalidPriority,
NotSupported,
HardwareError,
InvalidOperation,
}
Expand description
Errors that can occur during interrupt management
Variants§
InvalidInterruptId
Invalid interrupt ID
InvalidCpuId
Invalid CPU ID
ControllerNotFound
Controller not found
HandlerAlreadyRegistered
Handler already registered
HandlerNotFound
Handler not found
InvalidPriority
Invalid priority
NotSupported
Operation not supported
HardwareError
Hardware error
InvalidOperation
Invalid operation
Trait Implementations§
Source§impl Clone for InterruptError
impl Clone for InterruptError
Source§fn clone(&self) -> InterruptError
fn clone(&self) -> InterruptError
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InterruptError
impl Debug for InterruptError
Source§impl Display for InterruptError
impl Display for InterruptError
Source§impl PartialEq for InterruptError
impl PartialEq for InterruptError
impl Copy for InterruptError
impl Eq for InterruptError
impl StructuralPartialEq for InterruptError
Auto Trait Implementations§
impl Freeze for InterruptError
impl RefUnwindSafe for InterruptError
impl Send for InterruptError
impl Sync for InterruptError
impl Unpin for InterruptError
impl UnwindSafe for InterruptError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.