pub struct Transfer<T, C, B, State> { /* private fields */ }

Implementations

Enables the provided interrupts

This setting only affects this transfer. It doesn’t affect transfer on other channels, or subsequent transfers on the same channel.

Start the DMA transfer

Consumes this instance of Transfer and returns a new one, with its state changed to indicate that the transfer has been started.

Indicates whether the transfer is still ongoing

Waits for the transfer to finish and returns the owned resources

This function will busily wait until the transfer is finished. If you don’t want this, please call this function only once you know that the transfer has finished.

This function will return immediately, if Transfer::is_active returns false.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.