pub enum ComputeError {
QueueFull,
SchedulerShutdown,
WorkerPanic(String),
}Expand description
Errors that can occur during compute task submission or execution.
Variants§
QueueFull
The compute queue is at capacity (not currently used with unbounded channel).
SchedulerShutdown
The compute scheduler has been shut down.
WorkerPanic(String)
A worker thread panicked while executing the task.
Trait Implementations§
Source§impl Debug for ComputeError
impl Debug for ComputeError
Source§impl Display for ComputeError
impl Display for ComputeError
Source§impl Error for ComputeError
impl Error for ComputeError
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()
Auto Trait Implementations§
impl Forget for ComputeError
impl Freeze for ComputeError
impl Move for ComputeError
impl RefUnwindSafe for ComputeError
impl Send for ComputeError
impl Sync for ComputeError
impl Unpin for ComputeError
impl UnsafeUnpin for ComputeError
impl UnwindSafe for ComputeError
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