pub enum BinaryParseError {
MemoryOpcodeInvalidFlag,
UnexpectedForceStackFlag,
InvalidRegisterSelector,
EmptyBytecode,
InvalidBytecodeLength(usize),
BytecodeTooLong(usize),
InvalidOpcode,
UnknownContextField,
}Variants§
MemoryOpcodeInvalidFlag
UnexpectedForceStackFlag
InvalidRegisterSelector
EmptyBytecode
InvalidBytecodeLength(usize)
BytecodeTooLong(usize)
InvalidOpcode
UnknownContextField
Trait Implementations§
Source§impl Debug for BinaryParseError
impl Debug for BinaryParseError
Source§impl Display for BinaryParseError
impl Display for BinaryParseError
Source§impl Error for BinaryParseError
impl Error for BinaryParseError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for BinaryParseError
impl PartialEq for BinaryParseError
impl StructuralPartialEq for BinaryParseError
Auto Trait Implementations§
impl Freeze for BinaryParseError
impl RefUnwindSafe for BinaryParseError
impl Send for BinaryParseError
impl Sync for BinaryParseError
impl Unpin for BinaryParseError
impl UnwindSafe for BinaryParseError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more