pub struct FifoInFuture<'a, 'd, PIO: Instance, const SM: usize> { /* private fields */ }Expand description
Future that waits for RX-FIFO to become readable.
Implementations§
Source§impl<'a, 'd, PIO: Instance, const SM: usize> FifoInFuture<'a, 'd, PIO, SM>
impl<'a, 'd, PIO: Instance, const SM: usize> FifoInFuture<'a, 'd, PIO, SM>
Sourcepub fn new(sm: &'a mut StateMachineRx<'d, PIO, SM>) -> Self
pub fn new(sm: &'a mut StateMachineRx<'d, PIO, SM>) -> Self
Create future that waits for RX-FIFO to become readable.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'd, PIO, const SM: usize> !UnwindSafe for FifoInFuture<'a, 'd, PIO, SM>
impl<'a, 'd, PIO, const SM: usize> Freeze for FifoInFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineRx<'d, PIO, SM>: Freeze,
impl<'a, 'd, PIO, const SM: usize> RefUnwindSafe for FifoInFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineRx<'d, PIO, SM>: RefUnwindSafe,
impl<'a, 'd, PIO, const SM: usize> Send for FifoInFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineRx<'d, PIO, SM>: Send,
impl<'a, 'd, PIO, const SM: usize> Sync for FifoInFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineRx<'d, PIO, SM>: Sync,
impl<'a, 'd, PIO, const SM: usize> Unpin for FifoInFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineRx<'d, PIO, SM>: Unpin,
impl<'a, 'd, PIO, const SM: usize> UnsafeUnpin for FifoInFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineRx<'d, PIO, SM>: UnsafeUnpin,
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more