pub struct ReceiveFuture<'a, T> { /* private fields */ }Expand description
ReceiveFuture is a future for receiving an object from a channel asynchronously. It must be polled to complete the receive operation.
Trait Implementations§
Source§impl<T> Debug for ReceiveFuture<'_, T>
impl<T> Debug for ReceiveFuture<'_, T>
Source§impl<T> Drop for ReceiveFuture<'_, T>
impl<T> Drop for ReceiveFuture<'_, T>
Source§impl<T> Future for ReceiveFuture<'_, T>
impl<T> Future for ReceiveFuture<'_, T>
Auto Trait Implementations§
impl<'a, T> !Freeze for ReceiveFuture<'a, T>
impl<'a, T> !RefUnwindSafe for ReceiveFuture<'a, T>
impl<'a, T> Send for ReceiveFuture<'a, T>where
T: Send,
impl<'a, T> !Sync for ReceiveFuture<'a, T>
impl<'a, T> !Unpin for ReceiveFuture<'a, T>
impl<'a, T> !UnwindSafe for ReceiveFuture<'a, 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