pub enum JoinError {
AllDone,
Panicked,
Timeout,
Disconnected,
}
Expand description
Possible error returns from [join()
] and [join_timeout()
].
[join()
]: struct.ThreadGroup.html#method.join
[join_timeout()
]: struct.ThreadGroup.html#method.join_timeout
Variants§
AllDone
Thread list is empty, nothing to join.
Panicked
Joined thread has panicked, no result available.
Timeout
No thread has finished yet.
Disconnected
Internal channel got disconnected (should not happen, only included for completeness).
Trait Implementations§
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 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