pub enum BasicEagerDecodeError {
UnalignedBaseAddress,
CodeOverflowsAddressSpace,
ReturnTrapInsideCode,
ReturnTrapTooFar,
}Expand description
Error for BasicEagerInstructions::decode()
Variants§
UnalignedBaseAddress
Base address is not a multiple of the instruction alignment, see
BasicEagerInstructions::decode()
CodeOverflowsAddressSpace
Address right after the code doesn’t fit into the address space, see
BasicEagerInstructions::decode()
ReturnTrapInsideCode
Return trap is inside the code, see BasicEagerInstructions::decode()
ReturnTrapTooFar
Return trap is too far from the base address, see BasicEagerInstructions::decode()
Trait Implementations§
Source§impl Debug for BasicEagerDecodeError
impl Debug for BasicEagerDecodeError
Source§impl Display for BasicEagerDecodeError
impl Display for BasicEagerDecodeError
Source§impl Error for BasicEagerDecodeError
impl Error for BasicEagerDecodeError
1.30.0 · 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 BasicEagerDecodeError
impl RefUnwindSafe for BasicEagerDecodeError
impl Send for BasicEagerDecodeError
impl Sync for BasicEagerDecodeError
impl Unpin for BasicEagerDecodeError
impl UnsafeUnpin for BasicEagerDecodeError
impl UnwindSafe for BasicEagerDecodeError
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