pub enum RunGraphError {}Expand description
Top-level error raised by run_graph.
This revision defines no variants: a single task’s failure
does not abort the run (per EXEC-010), and every failure
path the scheduler can currently produce is surfaced as a
per-task RunTaskError captured in
RunGraphOutcome::task_errors or as a typed
RuntimeInvariantViolation in
RunGraphOutcome::invariant_violations. The enum exists
so a future scheduler-level diagnostic (e.g. a mutex
acquisition error not attributable to a single task) can
grow without changing run_graph’s signature.
Trait Implementations§
Source§impl Debug for RunGraphError
impl Debug for RunGraphError
Source§impl Display for RunGraphError
impl Display for RunGraphError
Source§impl Error for RunGraphError
impl Error for RunGraphError
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 ErrorCompat for RunGraphError
impl ErrorCompat for RunGraphError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreAuto Trait Implementations§
impl Freeze for RunGraphError
impl RefUnwindSafe for RunGraphError
impl Send for RunGraphError
impl Sync for RunGraphError
impl Unpin for RunGraphError
impl UnsafeUnpin for RunGraphError
impl UnwindSafe for RunGraphError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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