pub enum BlockingJobError {
ResourceLimit(LimitError),
Capacity {
limit: usize,
},
ShuttingDown,
WorkerDropped,
TimedOut {
timeout: Duration,
},
}Variants§
Trait Implementations§
Source§impl Clone for BlockingJobError
impl Clone for BlockingJobError
Source§fn clone(&self) -> BlockingJobError
fn clone(&self) -> BlockingJobError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockingJobError
impl Debug for BlockingJobError
Source§impl Display for BlockingJobError
impl Display for BlockingJobError
impl Eq for BlockingJobError
Source§impl Error for BlockingJobError
impl Error for BlockingJobError
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 BlockingJobError
impl PartialEq for BlockingJobError
impl StructuralPartialEq for BlockingJobError
Auto Trait Implementations§
impl Freeze for BlockingJobError
impl RefUnwindSafe for BlockingJobError
impl Send for BlockingJobError
impl Sync for BlockingJobError
impl Unpin for BlockingJobError
impl UnsafeUnpin for BlockingJobError
impl UnwindSafe for BlockingJobError
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