pub enum SFrameError {
Fmt(Error),
UnexpectedEndOfData,
InvalidMagic,
UnsupportedVersion,
UnsupportedFlags,
UnsupportedABI,
UnsupportedFREType,
UnsupportedFREStackOffsetSize,
}Expand description
Error types for the crate
Variants§
Fmt(Error)
Propagate core::fmt::Error
UnexpectedEndOfData
Unexpected end of data
InvalidMagic
Invalid magic number
UnsupportedVersion
Unsupported version
UnsupportedFlags
Unsupported flags
UnsupportedABI
Unsupported ABI
UnsupportedFREType
Unsupported FRE type
UnsupportedFREStackOffsetSize
Unsupported FRE stack offset size
Trait Implementations§
Source§impl Debug for SFrameError
impl Debug for SFrameError
Source§impl Display for SFrameError
impl Display for SFrameError
Source§impl Error for SFrameError
impl Error for SFrameError
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 SFrameError
impl RefUnwindSafe for SFrameError
impl Send for SFrameError
impl Sync for SFrameError
impl Unpin for SFrameError
impl UnwindSafe for SFrameError
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