pub struct TaskLocalFuture<T: 'static, F> { /* private fields */ }Expand description
The future of LocalKey::scope.
Trait Implementations§
Source§impl<T: 'static + Debug, F> Debug for TaskLocalFuture<T, F>
impl<T: 'static + Debug, F> Debug for TaskLocalFuture<T, F>
Source§impl<T: 'static, F> Drop for TaskLocalFuture<T, F>
impl<T: 'static, F> Drop for TaskLocalFuture<T, F>
Source§impl<T: 'static, F: Future> Future for TaskLocalFuture<T, F>
impl<T: 'static, F: Future> Future for TaskLocalFuture<T, F>
Auto Trait Implementations§
impl<T, F> !Unpin for TaskLocalFuture<T, F>
impl<T, F> !UnsafeUnpin for TaskLocalFuture<T, F>
impl<T, F> Freeze for TaskLocalFuture<T, F>
impl<T, F> RefUnwindSafe for TaskLocalFuture<T, F>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<T, F> Send for TaskLocalFuture<T, F>
impl<T, F> Sync for TaskLocalFuture<T, F>
impl<T, F> UnwindSafe for TaskLocalFuture<T, F>where
T: UnwindSafe,
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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§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