pub struct Send<'a, T> {
pub(crate) _inner: FutureWrapper<SendInner<'a, T>>,
}Expand description
A future returned by Sender::send().
Fields§
§_inner: FutureWrapper<SendInner<'a, T>>Implementations§
Source§impl<'a, T> Send<'a, T>
impl<'a, T> Send<'a, T>
pub(crate) fn _new(inner: SendInner<'a, T>) -> Self
pub(crate) fn wait(self) -> Result<(), SendError<T>>
pub(crate) fn poll_with_strategy<'__strategy, __S: Strategy<'__strategy>>( self: Pin<&mut Self>, strategy: &mut __S, context: &mut __S::Context, ) -> Poll<Result<(), SendError<T>>>
Trait Implementations§
impl<'__pin, 'a, T> Unpin for Send<'a, T>where
PinnedFieldsOf<__Origin<'__pin, 'a, T>>: Unpin,
Auto Trait Implementations§
impl<'a, T> Freeze for Send<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for Send<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Send<'a, T>where
T: Send,
impl<'a, T> Sync for Send<'a, T>
impl<'a, T> UnwindSafe for Send<'a, T>where
T: UnwindSafe,
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