Struct async_std::channel::Recv [−][src]
#[must_use = "futures do nothing unless .awaited"]pub struct Recv<'a, T> { /* fields omitted */ }
A future returned by Receiver::recv().
Trait Implementations
impl<'a, T> Unpin for Recv<'a, T>[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Recv<'a, T>
impl<'a, T> Send for Recv<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for Recv<'a, T> where
T: Send,
T: Send,
impl<'a, T> UnwindSafe for Recv<'a, T>
Blanket Implementations
impl<F> FutureExt for F where
F: Future + ?Sized, [src]
impl<F> FutureExt for F where
F: Future + ?Sized, [src]pub fn poll(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output> where
Self: Unpin, [src]
Self: Unpin,
pub fn or<F>(self, other: F) -> Or<Self, F>ⓘ where
F: Future<Output = Self::Output>, [src]
F: Future<Output = Self::Output>,
pub fn race<F>(self, other: F) -> Race<Self, F>ⓘ where
F: Future<Output = Self::Output>, [src]
F: Future<Output = Self::Output>,
pub fn catch_unwind(self) -> CatchUnwind<Self>ⓘNotable traits for CatchUnwind<F>
impl<F> Future for CatchUnwind<F> where
F: Future + UnwindSafe, type Output = Result<<F as Future>::Output, Box<dyn Any + 'static + Send, Global>>; where
Self: UnwindSafe, [src]
Notable traits for CatchUnwind<F>
impl<F> Future for CatchUnwind<F> where
F: Future + UnwindSafe, type Output = Result<<F as Future>::Output, Box<dyn Any + 'static + Send, Global>>;Self: UnwindSafe,
pub fn boxed<'a>(
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a + Send, Global>>ⓘ where
Self: Send + 'a, [src]
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a + Send, Global>>ⓘ where
Self: Send + 'a,
pub fn boxed_local<'a>(
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a, Global>>ⓘ where
Self: 'a, [src]
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a, Global>>ⓘ where
Self: 'a,
impl<F> IntoFuture for F where
F: Future, [src]
impl<F> IntoFuture for F where
F: Future, [src]type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future)The output that the future will produce on completion.
type Future = F
🔬 This is a nightly-only experimental API. (
into_future)Which kind of future are we turning this into?