pub struct Aborter { /* private fields */ }
Expand description
A handle that can be used to abort a specific future in an AbortablePool.
When the aborter is dropped, the associated future is aborted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Aborter
impl !RefUnwindSafe for Aborter
impl Send for Aborter
impl Sync for Aborter
impl Unpin for Aborter
impl !UnwindSafe for Aborter
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