pub enum IntIdError {
SpiOutOfRange(u32),
PpiOutOfRange(u32),
SpiCellOffsetOutOfRange(u32),
PpiCellOffsetOutOfRange(u32),
}Expand description
Errors from constructing or converting an IntId.
Variants§
SpiOutOfRange(u32)
Provided raw INTID is outside the SPI range (32..=1019).
PpiOutOfRange(u32)
Provided raw INTID is outside the PPI range (16..=31).
SpiCellOffsetOutOfRange(u32)
FDT SPI cell value would map to an out-of-range INTID.
PpiCellOffsetOutOfRange(u32)
FDT PPI cell value would map to an out-of-range INTID.
Trait Implementations§
Source§impl Clone for IntIdError
impl Clone for IntIdError
Source§fn clone(&self) -> IntIdError
fn clone(&self) -> IntIdError
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 moreSource§impl Debug for IntIdError
impl Debug for IntIdError
Source§impl Display for IntIdError
impl Display for IntIdError
Source§impl Error for IntIdError
impl Error for IntIdError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for IntIdError
impl PartialEq for IntIdError
Source§fn eq(&self, other: &IntIdError) -> bool
fn eq(&self, other: &IntIdError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IntIdError
impl StructuralPartialEq for IntIdError
Auto Trait Implementations§
impl Freeze for IntIdError
impl RefUnwindSafe for IntIdError
impl Send for IntIdError
impl Sync for IntIdError
impl Unpin for IntIdError
impl UnsafeUnpin for IntIdError
impl UnwindSafe for IntIdError
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