pub enum ExecutionGraphError {
EmptyGraph,
EmptyGroupId,
DuplicateGroup(String),
UnknownOutput(String),
UnknownDependency {
group: String,
dependency: String,
},
SelfDependency(String),
DuplicateDependency {
group: String,
dependency: String,
},
Cycle,
Disconnected {
disconnected: Vec<String>,
},
}Expand description
Invalid execution graph declaration.
Variants§
EmptyGraph
No groups were declared.
EmptyGroupId
A group identity is empty.
DuplicateGroup(String)
Two groups share an identity.
UnknownOutput(String)
The declared output is unknown.
UnknownDependency
A dependency is unknown.
SelfDependency(String)
A group depends on itself.
DuplicateDependency
A dependency is repeated.
Cycle
The graph contains a dependency cycle.
Disconnected
Some groups do not contribute to the output.
Trait Implementations§
Source§impl Clone for ExecutionGraphError
impl Clone for ExecutionGraphError
Source§fn clone(&self) -> ExecutionGraphError
fn clone(&self) -> ExecutionGraphError
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 ExecutionGraphError
impl Debug for ExecutionGraphError
Source§impl Display for ExecutionGraphError
impl Display for ExecutionGraphError
impl Eq for ExecutionGraphError
Source§impl Error for ExecutionGraphError
impl Error for ExecutionGraphError
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 ExecutionGraphError
impl PartialEq for ExecutionGraphError
impl StructuralPartialEq for ExecutionGraphError
Auto Trait Implementations§
impl Freeze for ExecutionGraphError
impl RefUnwindSafe for ExecutionGraphError
impl Send for ExecutionGraphError
impl Sync for ExecutionGraphError
impl Unpin for ExecutionGraphError
impl UnsafeUnpin for ExecutionGraphError
impl UnwindSafe for ExecutionGraphError
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