pub enum BlockingError {
Saturated,
Shutdown,
WorkerUnavailable,
Panicked,
Unsupported,
NoRuntime,
}Expand description
Failure to admit or complete blocking work.
Variants§
Saturated
An immediate try_submit found a full queue. The closure has not run.
Shutdown
The executor stopped accepting work and discarded its waiting jobs.
No worker could be started. The closure has not run.
Panicked
The closure unwound. With panic=abort, a panic still ends the process.
Unsupported
This target has no supported executor for blocking closures.
NoRuntime
A UI callback was requested without a live composition runtime.
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