pub enum Memo128Error {
IoError(Error),
InvalidHexInput(String),
InvalidDictionary(String),
ParsingError(String),
ChecksumError,
}
Expand description
Errors that can occur when using Memo128
Variants§
IoError(Error)
Wraps standard IO errors that occur during file operations
InvalidHexInput(String)
Errors related to invalid hex input format or content
InvalidDictionary(String)
Errors related to dictionary loading or validation
ParsingError(String)
Errors that occur during sentence parsing
ChecksumError
Error when checksum verification fails during decoding
Trait Implementations§
Source§impl Debug for Memo128Error
impl Debug for Memo128Error
Source§impl Display for Memo128Error
impl Display for Memo128Error
Source§impl Error for Memo128Error
impl Error for Memo128Error
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 Memo128Error
impl !RefUnwindSafe for Memo128Error
impl Send for Memo128Error
impl Sync for Memo128Error
impl Unpin for Memo128Error
impl !UnwindSafe for Memo128Error
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