pub struct UhciDmaRxTransfer<'d, Dm, Buf>where
    Dm: DriverMode,
    Buf: DmaRxBuffer,{ /* private fields */ }Expand description
A structure representing a DMA transfer for UHCI/UART.
This structure holds references to the UHCI instance, DMA buffers, and transfer status.
Implementations§
Source§impl<'d, Buf: DmaRxBuffer, Dm: DriverMode> UhciDmaRxTransfer<'d, Dm, Buf>
 
impl<'d, Buf: DmaRxBuffer, Dm: DriverMode> UhciDmaRxTransfer<'d, Dm, Buf>
Sourcepub fn is_done(&self) -> bool
 
pub fn is_done(&self) -> bool
Returns true when Self::wait will not block.
Source§impl<'d, Buf: DmaRxBuffer> UhciDmaRxTransfer<'d, Async, Buf>
 
impl<'d, Buf: DmaRxBuffer> UhciDmaRxTransfer<'d, Async, Buf>
Sourcepub async fn wait_for_done(&mut self)
 
pub async fn wait_for_done(&mut self)
Waits for the DMA transfer to complete, but async. After that, you still need to wait()
Trait Implementations§
Source§impl<Dm: DriverMode, Buf: DmaRxBuffer> Deref for UhciDmaRxTransfer<'_, Dm, Buf>
 
impl<Dm: DriverMode, Buf: DmaRxBuffer> Deref for UhciDmaRxTransfer<'_, Dm, Buf>
Source§impl<Dm: DriverMode, Buf: DmaRxBuffer> DerefMut for UhciDmaRxTransfer<'_, Dm, Buf>
 
impl<Dm: DriverMode, Buf: DmaRxBuffer> DerefMut for UhciDmaRxTransfer<'_, Dm, Buf>
Source§impl<Dm, Buf> Drop for UhciDmaRxTransfer<'_, Dm, Buf>where
    Dm: DriverMode,
    Buf: DmaRxBuffer,
 
impl<Dm, Buf> Drop for UhciDmaRxTransfer<'_, Dm, Buf>where
    Dm: DriverMode,
    Buf: DmaRxBuffer,
Auto Trait Implementations§
impl<'d, Dm, Buf> Freeze for UhciDmaRxTransfer<'d, Dm, Buf>where
    <Buf as DmaRxBuffer>::View: Freeze,
impl<'d, Dm, Buf> RefUnwindSafe for UhciDmaRxTransfer<'d, Dm, Buf>where
    <Buf as DmaRxBuffer>::View: RefUnwindSafe,
    Dm: RefUnwindSafe,
impl<'d, Dm, Buf> Send for UhciDmaRxTransfer<'d, Dm, Buf>where
    <Buf as DmaRxBuffer>::View: Send,
    Dm: Send,
impl<'d, Dm, Buf> Sync for UhciDmaRxTransfer<'d, Dm, Buf>where
    <Buf as DmaRxBuffer>::View: Sync,
    Dm: Sync,
impl<'d, Dm, Buf> Unpin for UhciDmaRxTransfer<'d, Dm, Buf>where
    <Buf as DmaRxBuffer>::View: Unpin,
    Dm: Unpin,
impl<'d, Dm, Buf> !UnwindSafe for UhciDmaRxTransfer<'d, Dm, Buf>
Blanket Implementations§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
    U: From<T>,
 
impl<T, U> Into<U> for Twhere
    U: From<T>,
§impl<P, T> Receiver for Pwhere
    P: Deref<Target = T> + ?Sized,
    T: ?Sized,
 
impl<P, T> Receiver for Pwhere
    P: Deref<Target = T> + ?Sized,
    T: ?Sized,
§impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,
 
impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,
§impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,
 
impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,
Source§impl<R> TryRngCore for Rwhere
    R: RngCore + ?Sized,
 
impl<R> TryRngCore for Rwhere
    R: RngCore + ?Sized,
Source§fn try_next_u32(&mut self) -> Result<u32, <R as TryRngCore>::Error>
 
fn try_next_u32(&mut self) -> Result<u32, <R as TryRngCore>::Error>
Return the next random 
u32.Source§fn try_next_u64(&mut self) -> Result<u64, <R as TryRngCore>::Error>
 
fn try_next_u64(&mut self) -> Result<u64, <R as TryRngCore>::Error>
Return the next random 
u64.Source§fn try_fill_bytes(
    &mut self,
    dst: &mut [u8],
) -> Result<(), <R as TryRngCore>::Error>
 
fn try_fill_bytes( &mut self, dst: &mut [u8], ) -> Result<(), <R as TryRngCore>::Error>
Fill 
dest entirely with random data.Source§fn unwrap_err(self) -> UnwrapErr<Self>where
    Self: Sized,
 
fn unwrap_err(self) -> UnwrapErr<Self>where
    Self: Sized,
Wrap RNG with the 
UnwrapErr wrapper.Source§fn unwrap_mut(&mut self) -> UnwrapMut<'_, Self>
 
fn unwrap_mut(&mut self) -> UnwrapMut<'_, Self>
Wrap RNG with the 
UnwrapMut wrapper.