Struct async_speed_limit::limiter::Consume [−][src]
pub struct Consume<C: Clock, R> { /* fields omitted */ }
Expand description
The future returned by Limiter::consume()
.
Implementations
Trait Implementations
Returns true
if the underlying future should no longer be polled.
Auto Trait Implementations
impl<C, R> RefUnwindSafe for Consume<C, R> where
R: RefUnwindSafe,
<C as Clock>::Delay: RefUnwindSafe,
impl<C, R> UnwindSafe for Consume<C, R> where
R: UnwindSafe,
<C as Clock>::Delay: 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.