pub enum MemoryRegistryError {
AlreadyRegistered(u8, String, String),
CrateKeyTooLong(String, usize),
DuplicateRange(String),
InvalidRange(String, u8, u8),
LabelTooLong(String, usize),
OutOfRange(String, u8),
Overlap(String, u8, u8, String, u8, u8),
NoRange(String),
}Expand description
MemoryRegistryError
Variants§
AlreadyRegistered(u8, String, String)
CrateKeyTooLong(String, usize)
DuplicateRange(String)
InvalidRange(String, u8, u8)
LabelTooLong(String, usize)
OutOfRange(String, u8)
Overlap(String, u8, u8, String, u8, u8)
NoRange(String)
Trait Implementations§
Source§impl Debug for MemoryRegistryError
impl Debug for MemoryRegistryError
Source§impl Display for MemoryRegistryError
impl Display for MemoryRegistryError
Source§impl Error for MemoryRegistryError
impl Error for MemoryRegistryError
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()
Auto Trait Implementations§
impl Freeze for MemoryRegistryError
impl RefUnwindSafe for MemoryRegistryError
impl Send for MemoryRegistryError
impl Sync for MemoryRegistryError
impl Unpin for MemoryRegistryError
impl UnwindSafe for MemoryRegistryError
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