pub enum BlockingError {
Panicked,
Closed,
}Expand description
Why a Blocking future resolved without its job’s value.
Variants§
Panicked
The job panicked. The panic went to the panic hook like any other; the pool thread that ran it carries on with the next job.
Closed
The job never ran: the pool could not start its first thread.
Trait Implementations§
Source§impl Clone for BlockingError
impl Clone for BlockingError
impl Copy for BlockingError
Source§impl Debug for BlockingError
impl Debug for BlockingError
Source§impl Display for BlockingError
impl Display for BlockingError
impl Eq 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 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