pub enum FerroBabeError {
InputTooShort {
required: usize,
actual: usize,
},
InvalidMagic {
found: u32,
},
UnsupportedVersion {
major: u16,
minor: u16,
},
InputRead {
source: Error,
},
Decode {
source: ClassReadError,
},
Format {
source: Error,
},
IncompleteDisassembly,
}Variants§
InputTooShort
InvalidMagic
UnsupportedVersion
InputRead
Decode
Fields
§
source: ClassReadErrorFormat
IncompleteDisassembly
Trait Implementations§
Source§impl Debug for FerroBabeError
impl Debug for FerroBabeError
Source§impl Display for FerroBabeError
impl Display for FerroBabeError
Source§impl Error for FerroBabeError
impl Error for FerroBabeError
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 !RefUnwindSafe for FerroBabeError
impl !UnwindSafe for FerroBabeError
impl Freeze for FerroBabeError
impl Send for FerroBabeError
impl Sync for FerroBabeError
impl Unpin for FerroBabeError
impl UnsafeUnpin for FerroBabeError
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