pub enum PlanError {
Cycle(Vec<ActionId>),
MissingDep {
from: ActionId,
to: ActionId,
},
Build(BuildError),
}Expand description
Errors raised while computing a Plan.
Variants§
Cycle(Vec<ActionId>)
The action graph contains a cycle. Carries the unsettled node ids.
MissingDep
An action declares a dependency on an id not present in the action set.
Fields
Build(BuildError)
Underlying Action::input_hash failure.
Trait Implementations§
Source§impl Error for PlanError
impl Error for PlanError
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 From<BuildError> for PlanError
impl From<BuildError> for PlanError
Source§fn from(source: BuildError) -> Self
fn from(source: BuildError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PlanError
impl RefUnwindSafe for PlanError
impl Send for PlanError
impl Sync for PlanError
impl Unpin for PlanError
impl UnsafeUnpin for PlanError
impl UnwindSafe for PlanError
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