#[non_exhaustive]pub enum BlockTransferMode {
Fifo,
Dma,
}Expand description
Data engine used by an in-flight block request.
Marked #[non_exhaustive]: new engines (e.g. SDMA, ADMA3) may be added
before 1.0.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fifo
Controller FIFO/data-port engine.
Dma
Host-controller DMA engine (SDHCI ADMA2, DW_mshc IDMAC, etc.).
Trait Implementations§
Source§impl Clone for BlockTransferMode
impl Clone for BlockTransferMode
Source§fn clone(&self) -> BlockTransferMode
fn clone(&self) -> BlockTransferMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockTransferMode
impl Debug for BlockTransferMode
Source§impl PartialEq for BlockTransferMode
impl PartialEq for BlockTransferMode
Source§fn eq(&self, other: &BlockTransferMode) -> bool
fn eq(&self, other: &BlockTransferMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BlockTransferMode
impl Eq for BlockTransferMode
impl StructuralPartialEq for BlockTransferMode
Auto Trait Implementations§
impl Freeze for BlockTransferMode
impl RefUnwindSafe for BlockTransferMode
impl Send for BlockTransferMode
impl Sync for BlockTransferMode
impl Unpin for BlockTransferMode
impl UnsafeUnpin for BlockTransferMode
impl UnwindSafe for BlockTransferMode
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