pub enum CodeTableDecodeError {
CantDecodeSir0(Sir0Error),
NotEnoughtPointer(usize),
CantGetOffsetForPointer(usize),
IOError(Error),
CantReadEntry(Error),
}Expand description
An error that may happen while decoding a [code_table.bin] file with CodeTable.
Variants§
CantDecodeSir0(Sir0Error)
NotEnoughtPointer(usize)
CantGetOffsetForPointer(usize)
IOError(Error)
CantReadEntry(Error)
Trait Implementations§
Source§impl Debug for CodeTableDecodeError
impl Debug for CodeTableDecodeError
Source§impl Display for CodeTableDecodeError
impl Display for CodeTableDecodeError
Source§impl Error for CodeTableDecodeError
impl Error for CodeTableDecodeError
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 CodeTableDecodeError
impl From<Error> for CodeTableDecodeError
Auto Trait Implementations§
impl Freeze for CodeTableDecodeError
impl !RefUnwindSafe for CodeTableDecodeError
impl Send for CodeTableDecodeError
impl Sync for CodeTableDecodeError
impl Unpin for CodeTableDecodeError
impl !UnwindSafe for CodeTableDecodeError
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