pub struct FifoOutFuture<'a, 'd, PIO: Instance, const SM: usize> { /* private fields */ }Expand description
Future that waits for TX-FIFO to become writable
Implementations§
Source§impl<'a, 'd, PIO: Instance, const SM: usize> FifoOutFuture<'a, 'd, PIO, SM>
impl<'a, 'd, PIO: Instance, const SM: usize> FifoOutFuture<'a, 'd, PIO, SM>
Sourcepub fn new(sm: &'a mut StateMachineTx<'d, PIO, SM>, value: u32) -> Self
pub fn new(sm: &'a mut StateMachineTx<'d, PIO, SM>, value: u32) -> Self
Create a new future waiting for TX-FIFO to become writable.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'd, PIO, const SM: usize> !UnwindSafe for FifoOutFuture<'a, 'd, PIO, SM>
impl<'a, 'd, PIO, const SM: usize> Freeze for FifoOutFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineTx<'d, PIO, SM>: Freeze,
impl<'a, 'd, PIO, const SM: usize> RefUnwindSafe for FifoOutFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineTx<'d, PIO, SM>: RefUnwindSafe,
impl<'a, 'd, PIO, const SM: usize> Send for FifoOutFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineTx<'d, PIO, SM>: Send,
impl<'a, 'd, PIO, const SM: usize> Sync for FifoOutFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineTx<'d, PIO, SM>: Sync,
impl<'a, 'd, PIO, const SM: usize> Unpin for FifoOutFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineTx<'d, PIO, SM>: Unpin,
impl<'a, 'd, PIO, const SM: usize> UnsafeUnpin for FifoOutFuture<'a, 'd, PIO, SM>where
&'a mut StateMachineTx<'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