pub struct LoanFuture<'a, const TX_BUF: usize> { /* private fields */ }Expand description
Future returned by EmbeddedRawPublisher::loan. Phase 99.H’
cancellation-safe variant: if dropped before resolving, it wakes
the next pending waiter so the busy-flag-clear signal isn’t lost
to the cancelled task.
Trait Implementations§
Source§impl<'a, const TX_BUF: usize> Drop for LoanFuture<'a, TX_BUF>
impl<'a, const TX_BUF: usize> Drop for LoanFuture<'a, TX_BUF>
Auto Trait Implementations§
impl<'a, const TX_BUF: usize> Freeze for LoanFuture<'a, TX_BUF>
impl<'a, const TX_BUF: usize> !RefUnwindSafe for LoanFuture<'a, TX_BUF>
impl<'a, const TX_BUF: usize> !Send for LoanFuture<'a, TX_BUF>
impl<'a, const TX_BUF: usize> !Sync for LoanFuture<'a, TX_BUF>
impl<'a, const TX_BUF: usize> Unpin for LoanFuture<'a, TX_BUF>
impl<'a, const TX_BUF: usize> UnsafeUnpin for LoanFuture<'a, TX_BUF>
impl<'a, const TX_BUF: usize> !UnwindSafe for LoanFuture<'a, TX_BUF>
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