pub struct AsyncScope { /* private fields */ }
Expand description
An async-aware scope guard for storing and running deferred async closures.
This version uses dynamic allocation with Vec<Box<...>>
. It requires the
global allocator (heap).
Implementations§
Source§impl AsyncScope
impl AsyncScope
Auto Trait Implementations§
impl Freeze for AsyncScope
impl !RefUnwindSafe for AsyncScope
impl !Send for AsyncScope
impl !Sync for AsyncScope
impl Unpin for AsyncScope
impl !UnwindSafe for AsyncScope
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