pub struct Recv<'a, S: RecvStorage<T>, T> { /* private fields */ }Expand description
Future for Fifo consumption
Unlike Fill, this future will construct the backing
storage using its implementation of Default.
This future is safely cancellable.
Trait Implementations§
Auto Trait Implementations§
impl<'a, S, T> Freeze for Recv<'a, S, T>where
S: Freeze,
impl<'a, S, T> !RefUnwindSafe for Recv<'a, S, T>
impl<'a, S, T> Send for Recv<'a, S, T>where
S: Send,
impl<'a, S, T> Sync for Recv<'a, S, T>where
S: Sync,
impl<'a, S, T> Unpin for Recv<'a, S, T>
impl<'a, S, T> !UnwindSafe for Recv<'a, S, T>
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