pub enum BlockingError {
Panicked,
SupervisorDropped,
}Expand description
Error returned by BlockingHandle::join.
Variants§
Panicked
The task panicked before producing a result.
SupervisorDropped
The supervisor (or the task’s abort handle) was dropped before the task completed.
Trait Implementations§
Source§impl Debug for BlockingError
impl Debug for BlockingError
Source§impl Display for BlockingError
impl Display for BlockingError
Source§impl Error for BlockingError
impl Error for BlockingError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for BlockingError
impl PartialEq for BlockingError
impl Eq for BlockingError
impl StructuralPartialEq for BlockingError
Auto Trait Implementations§
impl Freeze for BlockingError
impl RefUnwindSafe for BlockingError
impl Send for BlockingError
impl Sync for BlockingError
impl Unpin for BlockingError
impl UnsafeUnpin for BlockingError
impl UnwindSafe for BlockingError
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