[][src]Enum probe_rs::architecture::arm::ap::AccessPortError

pub enum AccessPortError {
    MemoryNotAligned {
        address: u32,
        alignment: usize,
    },
    RegisterReadError {
        address: u8,
        name: &'static str,
        source: Box<dyn Error + Send + Sync>,
    },
    RegisterWriteError {
        address: u8,
        name: &'static str,
        source: Box<dyn Error + Send + Sync>,
    },
    OutOfBoundsError,
    DebugPort(DebugPortError),
}

Variants

MemoryNotAligned

Fields of MemoryNotAligned

address: u32alignment: usize
RegisterReadError

Fields of RegisterReadError

address: u8name: &'static strsource: Box<dyn Error + Send + Sync>
RegisterWriteError

Fields of RegisterWriteError

address: u8name: &'static strsource: Box<dyn Error + Send + Sync>
OutOfBoundsError
DebugPort(DebugPortError)

Implementations

impl AccessPortError[src]

pub fn register_read_error<R: Register, E: Error + Send + Sync + 'static>(
    source: E
) -> Self
[src]

pub fn register_write_error<R: Register, E: Error + Send + Sync + 'static>(
    source: E
) -> Self
[src]

pub fn alignment_error(address: u32, alignment: usize) -> Self[src]

Trait Implementations

impl Debug for AccessPortError[src]

impl Display for AccessPortError[src]

impl Error for AccessPortError[src]

impl From<DebugPortError> for AccessPortError[src]

Auto Trait Implementations

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> 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.