pub struct Task<F> { /* private fields */ }Expand description
One final pinned place that drops its child before releasing the output.
Implementations§
Trait Implementations§
impl<'pin, F> Unpin for Task<F>where
PinnedFieldsOf<__Task<'pin, F>>: Unpin,
Auto Trait Implementations§
impl<F> Forget for Task<F>
impl<F> Freeze for Task<F>where
F: Freeze,
impl<F> Move for Task<F>
impl<F> RefUnwindSafe for Task<F>where
F: RefUnwindSafe,
impl<F> Send for Task<F>where
F: Send,
impl<F> Sync for Task<F>where
F: Sync,
impl<F> UnsafeUnpin for Task<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for Task<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