pub enum JoinError {
Disconnect,
Timeout,
AlreadyConsumed,
}Expand description
Describes possible reasons for join to fail
Variants§
Disconnect
Job wasn’t finished and aborted.
Timeout
Timeout expired, job continues.
AlreadyConsumed
Job was already consumed.
Only possible if handle successfully finished with wait_timeout
or via reference future.
Trait Implementations§
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