pub struct Aborted;Expand description
The shutdown side of TaskNode::run_cancellable’s result: the raced work
future was cancelled at its await point because a stop/pause request won the
select. Pairs naturally with the exit: slot — a worker returning
Result<R, Aborted> records completed-vs-cancelled for whoever reads the
exit value.
Trait Implementations§
impl Copy for Aborted
impl Eq for Aborted
impl StructuralPartialEq for Aborted
Auto Trait Implementations§
impl Freeze for Aborted
impl RefUnwindSafe for Aborted
impl Send for Aborted
impl Sync for Aborted
impl Unpin for Aborted
impl UnsafeUnpin for Aborted
impl UnwindSafe for Aborted
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