pub struct SendFuture<'a, T> { /* private fields */ }Expand description
Capacity wait owned by one send attempt; dropping it unregisters its waker.
Trait Implementations§
Source§impl<T> Drop for SendFuture<'_, T>
impl<T> Drop for SendFuture<'_, T>
Source§impl<T> Future for SendFuture<'_, T>where
T: Send + 'static,
impl<T> Future for SendFuture<'_, T>where
T: Send + 'static,
impl<T> Unpin 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>
impl<'a, T> Sync for SendFuture<'a, T>
impl<'a, T> UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.