pub struct AesDmaTransferRxTx<'d, C, RBUFFER, TBUFFER>where
    C: ChannelTypes,
    <C as ChannelTypes>::P: AesPeripheral,{ /* private fields */ }
Expand description

An in-progress DMA transfer

Trait Implementations§

source§

impl<'d, C, RXBUF, TXBUF> DmaTransferRxTx<RXBUF, TXBUF, AesDma<'d, C>> for AesDmaTransferRxTx<'d, C, RXBUF, TXBUF>where C: ChannelTypes, <C as ChannelTypes>::P: AesPeripheral,

source§

fn wait( self ) -> Result<(RXBUF, TXBUF, AesDma<'d, C>), (DmaError, RXBUF, TXBUF, AesDma<'d, C>)>

Wait for the DMA transfer to complete and return the buffers and the AES instance.

source§

fn is_done(&self) -> bool

Check if the DMA transfer is complete

source§

impl<'d, C, RXBUF, TXBUF> Drop for AesDmaTransferRxTx<'d, C, RXBUF, TXBUF>where C: ChannelTypes, <C as ChannelTypes>::P: AesPeripheral,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl<'d, C, RBUFFER, TBUFFER> RefUnwindSafe for AesDmaTransferRxTx<'d, C, RBUFFER, TBUFFER>where RBUFFER: RefUnwindSafe, TBUFFER: RefUnwindSafe, <C as ChannelTypes>::Rx<'d>: RefUnwindSafe, <C as ChannelTypes>::Tx<'d>: RefUnwindSafe,

§

impl<'d, C, RBUFFER, TBUFFER> Send for AesDmaTransferRxTx<'d, C, RBUFFER, TBUFFER>where RBUFFER: Send, TBUFFER: Send, <C as ChannelTypes>::Rx<'d>: Send, <C as ChannelTypes>::Tx<'d>: Send,

§

impl<'d, C, RBUFFER, TBUFFER> Sync for AesDmaTransferRxTx<'d, C, RBUFFER, TBUFFER>where RBUFFER: Sync, TBUFFER: Sync, <C as ChannelTypes>::Rx<'d>: Sync, <C as ChannelTypes>::Tx<'d>: Sync,

§

impl<'d, C, RBUFFER, TBUFFER> Unpin for AesDmaTransferRxTx<'d, C, RBUFFER, TBUFFER>where RBUFFER: Unpin, TBUFFER: Unpin, <C as ChannelTypes>::Rx<'d>: Unpin, <C as ChannelTypes>::Tx<'d>: Unpin,

§

impl<'d, C, RBUFFER, TBUFFER> !UnwindSafe for AesDmaTransferRxTx<'d, C, RBUFFER, TBUFFER>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.