pub enum IntelHexError {
Parse(ParseError),
Memory(MemoryError),
Io(Error),
}Expand description
All possible errors that may occur when processing Intel HEX format
Variants§
Parse(ParseError)
Errors that occur during parsing
Memory(MemoryError)
Errors that occur during memory operations
Io(Error)
I/O errors
Trait Implementations§
Source§impl Debug for IntelHexError
impl Debug for IntelHexError
Source§impl Display for IntelHexError
impl Display for IntelHexError
Source§impl Error for IntelHexError
impl Error for IntelHexError
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 From<Error> for IntelHexError
impl From<Error> for IntelHexError
Source§impl From<MemoryError> for IntelHexError
impl From<MemoryError> for IntelHexError
Source§fn from(err: MemoryError) -> Self
fn from(err: MemoryError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for IntelHexError
impl From<ParseError> for IntelHexError
Source§fn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IntelHexError
impl !UnwindSafe for IntelHexError
impl Freeze for IntelHexError
impl Send for IntelHexError
impl Sync for IntelHexError
impl Unpin for IntelHexError
impl UnsafeUnpin for IntelHexError
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