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