Enum imxrt_hal::dma::CircularError[][src]

pub enum CircularError {
    NotPowerOfTwo,
    BufferTaken,
    IncorrectAlignment,
}

Possible errors when creating a circular buffer

Variants

NotPowerOfTwo

The size of the memory is not a power of two

BufferTaken

The buffer is taken, likely used in another DMA buffer

IncorrectAlignment

The alignment of the buffer must be a multiple of the buffer’s size, which includes both element type, and the length of the buffer.

Trait Implementations

impl Clone for CircularError[src]

impl Copy for CircularError[src]

impl Debug for CircularError[src]

impl Eq for CircularError[src]

impl PartialEq<CircularError> for CircularError[src]

impl StructuralEq for CircularError[src]

impl StructuralPartialEq for CircularError[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> Same<T> for T

type Output = T

Should always be Self

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.