pub enum JoinError {
Stale,
SelfJoin,
AlreadyJoined,
Faulted,
}Expand description
Errors from super::TaskHandle::join.
Variants§
Stale
The task slot was recycled since this handle was created (stale generation — ABA detection, plan.md §5.1).
SelfJoin
A task cannot join itself.
AlreadyJoined
Another task is already joined to this one (one joiner per task).
Faulted
The task was isolated by the fault policy before exiting (plan.md §3.4); it produced no result.
Trait Implementations§
impl Copy for JoinError
impl Eq for JoinError
impl StructuralPartialEq for JoinError
Auto Trait Implementations§
impl Freeze for JoinError
impl RefUnwindSafe for JoinError
impl Send for JoinError
impl Sync for JoinError
impl Unpin for JoinError
impl UnsafeUnpin for JoinError
impl UnwindSafe for JoinError
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