Enum rp2040_hal::dma::DMAError
source · pub enum DMAError {
Alignment,
IllegalConfig,
}
Expand description
Error during DMA configuration.
Variants§
Alignment
Buffers were not aligned to their size even though they needed to be.
IllegalConfig
An illegal configuration (i.e., buffer sizes not suitable for a memory-to-memory transfer) was specified.
Trait Implementations§
source§impl PartialEq for DMAError
impl PartialEq for DMAError
impl Copy for DMAError
impl Eq for DMAError
impl StructuralPartialEq for DMAError
Auto Trait Implementations§
impl Freeze for DMAError
impl RefUnwindSafe for DMAError
impl Send for DMAError
impl Sync for DMAError
impl Unpin for DMAError
impl UnwindSafe for DMAError
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
source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more