Struct tokio::task::Unconstrained
source · pub struct Unconstrained<F> { /* private fields */ }
Available on crate feature
rt
only.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<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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