pub enum SchedulerError {
InvalidLimits([usize; 6]),
DuplicateRequest(RequestId),
UnknownRequest(RequestId),
Capacity(String),
Descriptor(String),
State(String),
Submission(String),
Completion(String),
Consensus(String),
DistributedCompletion(String),
Poisoned(String),
}Expand description
Structured neutral scheduler error.
Variants§
InvalidLimits([usize; 6])
One or more limits were zero.
DuplicateRequest(RequestId)
Duplicate request identity.
UnknownRequest(RequestId)
Unknown request identity.
Capacity(String)
Capacity exhausted with contextual detail.
Descriptor(String)
Work descriptor validation failed.
State(String)
Semantic state operation failed.
Submission(String)
Backend submission failed.
Completion(String)
Exact completion observation failed.
Consensus(String)
Topology-wide scheduler agreement failed.
DistributedCompletion(String)
A distributed backend failed and every rank reached a terminal completion.
Poisoned(String)
Unsafe distributed ordering prevents further scheduler mutation.
Trait Implementations§
Source§impl Clone for SchedulerError
impl Clone for SchedulerError
Source§fn clone(&self) -> SchedulerError
fn clone(&self) -> SchedulerError
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 SchedulerError
impl Debug for SchedulerError
Source§impl Display for SchedulerError
impl Display for SchedulerError
impl Eq for SchedulerError
Source§impl Error for SchedulerError
impl Error for SchedulerError
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<E: Error + 'static> From<SchedulerError> for RealtimeError<E>
impl<E: Error + 'static> From<SchedulerError> for RealtimeError<E>
Source§fn from(source: SchedulerError) -> Self
fn from(source: SchedulerError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SchedulerError
impl PartialEq for SchedulerError
impl StructuralPartialEq for SchedulerError
Auto Trait Implementations§
impl Freeze for SchedulerError
impl RefUnwindSafe for SchedulerError
impl Send for SchedulerError
impl Sync for SchedulerError
impl Unpin for SchedulerError
impl UnsafeUnpin for SchedulerError
impl UnwindSafe for SchedulerError
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