Struct tokio::task::Unconstrained
source · pub struct Unconstrained<F> { /* private fields */ }
Expand description
Future for the unconstrained
method.
Trait Implementations§
source§impl<F> Future for Unconstrained<F>where
F: Future,
impl<F> Future for Unconstrained<F>where
F: Future,
impl<'__pin, F> Unpin for Unconstrained<F>where
__Origin<'__pin, F>: Unpin,
Auto Trait Implementations§
impl<F> RefUnwindSafe for Unconstrained<F>where
F: RefUnwindSafe,
impl<F> Send for Unconstrained<F>where
F: Send,
impl<F> Sync for Unconstrained<F>where
F: Sync,
impl<F> UnwindSafe for Unconstrained<F>where
F: 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