Struct pasts::Past [−][src]
Expand description
A repeating async fn
.
This is needed to both pin an async fn
, and avoid panics of async fn
being polled after it returns Poll::Ready()
. Note that this does
allocate upon creation.
Implementations
Trait Implementations
Auto Trait Implementations
impl<S, T, F> RefUnwindSafe for Past<S, T, F> where
F: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, T, F> UnwindSafe for Past<S, T, F> where
F: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.