pub struct RobustAbortHandle { /* private fields */ }Available on crate feature
coroutine only.Implementations§
Source§impl RobustAbortHandle
impl RobustAbortHandle
Sourcepub fn abort(&self) -> bool
pub fn abort(&self) -> bool
Abort the RobustHandle pointed to by this handle.
See documentation for RobustHandle for more details.
Returns if the abort was successful. If false is returned,
that means the task has already been joined.
Auto Trait Implementations§
impl Freeze for RobustAbortHandle
impl RefUnwindSafe for RobustAbortHandle
impl Send for RobustAbortHandle
impl Sync for RobustAbortHandle
impl Unpin for RobustAbortHandle
impl UnsafeUnpin for RobustAbortHandle
impl UnwindSafe for RobustAbortHandle
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