pub struct SendFuture<'r, T> { /* private fields */ }Available on crate feature
alloc only.Expand description
Future for the send operation of the shared channel.
We cannot re-use the SendFuture of the channel because our sender only contains a weak reference to the channel.
Trait Implementations§
Source§impl<'r, T> Drop for SendFuture<'r, T>
impl<'r, T> Drop for SendFuture<'r, T>
Source§impl<T> Future for SendFuture<'_, T>
impl<T> Future for SendFuture<'_, T>
impl<'pin, 'r, T> Unpin for SendFuture<'r, T>where
PinnedFieldsOf<__SendFuture<'pin, 'r, T>>: Unpin,
Auto Trait Implementations§
impl<'r, T> !Freeze for SendFuture<'r, T>
impl<'r, T> !RefUnwindSafe for SendFuture<'r, T>
impl<'r, T> !Send for SendFuture<'r, T>
impl<'r, T> !Sync for SendFuture<'r, T>
impl<'r, T> !UnwindSafe for SendFuture<'r, 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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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