Enum rsim::processor::exceptions::MemoryException[][src]

pub enum MemoryException {
    AddressMisaligned {
        addr: usize,
        expected: usize,
    },
    JumpMisaligned {
        addr: usize,
        expected: usize,
    },
    AddressUnmapped {
        addr: usize,
    },
}

Error which can be raised when accessing memory

Includes ResultReturned, which is raised when the program writes a u32 to 0xF000_0000

Variants

AddressMisaligned
Show fields

Fields of AddressMisaligned

addr: usizeexpected: usize
JumpMisaligned
Show fields

Fields of JumpMisaligned

addr: usizeexpected: usize
AddressUnmapped
Show fields

Fields of AddressUnmapped

addr: usize

Trait Implementations

impl Clone for MemoryException[src]

impl Debug for MemoryException[src]

impl Display for MemoryException[src]

impl Error for MemoryException[src]

impl PartialEq<MemoryException> for MemoryException[src]

impl Eq for MemoryException[src]

impl StructuralEq for MemoryException[src]

impl StructuralPartialEq for MemoryException[src]

Auto Trait Implementations

impl RefUnwindSafe for MemoryException

impl Send for MemoryException

impl Sync for MemoryException

impl Unpin for MemoryException

impl UnwindSafe for MemoryException

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.