Struct context_rs::ProviderFut
source · pub struct ProviderFut<F, T> { /* private fields */ }
Expand description
Future
returned by methods on ProviderFutExt
.
Trait Implementations§
impl<'__pin, F, T> Unpin for ProviderFut<F, T>where
__Origin<'__pin, F, T>: Unpin,
Auto Trait Implementations§
impl<F, T> RefUnwindSafe for ProviderFut<F, T>where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<F, T> Send for ProviderFut<F, T>where
F: Send,
T: Send,
impl<F, T> Sync for ProviderFut<F, T>where
F: Sync,
T: Sync,
impl<F, T> UnwindSafe for ProviderFut<F, T>where
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§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
source§impl<F> WellKnownProviderExt for Fwhere
F: Future,
impl<F> WellKnownProviderExt for Fwhere
F: Future,
source§fn with_timeout(self, duration: Duration) -> ProviderFut<Self, Deadline> ⓘ
fn with_timeout(self, duration: Duration) -> ProviderFut<Self, Deadline> ⓘ
Available on crate feature
std
only.source§fn with_deadline(self, deadline: Instant) -> ProviderFut<Self, Deadline> ⓘ
fn with_deadline(self, deadline: Instant) -> ProviderFut<Self, Deadline> ⓘ
Available on crate feature
std
only.source§fn with_shutdown_handler(
self,
handler: ShutdownReceiver
) -> ProviderFut<Self, ShutdownReceiver> ⓘ
fn with_shutdown_handler(
self,
handler: ShutdownReceiver
) -> ProviderFut<Self, ShutdownReceiver> ⓘ
Available on crate feature
std
only.