Enum stm32f4xx_hal::dma::DMAError
source · [−]pub enum DMAError<T> {
NotReady(T),
SmallBuffer(T),
Overrun(T),
}
Expand description
Errors.
Variants
NotReady(T)
DMA not ready to change buffers.
SmallBuffer(T)
The user provided a buffer that is not big enough while double buffering.
Overrun(T)
Overrun during a double buffering or circular transfer.
Trait Implementations
impl<T> StructuralPartialEq for DMAError<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for DMAError<T> where
T: RefUnwindSafe,
impl<T> Send for DMAError<T> where
T: Send,
impl<T> Sync for DMAError<T> where
T: Sync,
impl<T> Unpin for DMAError<T> where
T: Unpin,
impl<T> UnwindSafe for DMAError<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more