Struct cros_async::DetachedTasks
source · pub(crate) struct DetachedTasks(pub(crate) FuturesUnordered<Pin<Box<dyn Future<Output = ()> + Send>>>);
Expand description
Heterogeneous collection of async_task:Task
that are running in a “detached” state.
We keep them around to ensure they are dropped before the executor they are running on.
Tuple Fields§
§0: FuturesUnordered<Pin<Box<dyn Future<Output = ()> + Send>>>
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DetachedTasks
impl Send for DetachedTasks
impl !Sync for DetachedTasks
impl Unpin for DetachedTasks
impl !UnwindSafe for DetachedTasks
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