pub enum TopologyError {
DuplicateNode {
name: String,
},
InvalidNodeName {
name: String,
reason: String,
},
NoEntryPoint,
NodeNotFound {
name: String,
},
EdgeTargetNotFound {
from: String,
branch: String,
target: String,
},
IsolatedNode {
name: String,
},
UnreachableNode {
name: String,
},
PotentialInfiniteLoop {
cycle: Vec<String>,
},
InvalidFieldReference {
index: usize,
field_count: usize,
field_names: &'static [&'static str],
context: String,
},
}Expand description
Topology validation errors
These errors indicate structural problems with a graph that would prevent correct execution.
Variants§
DuplicateNode
InvalidNodeName
NoEntryPoint
NodeNotFound
EdgeTargetNotFound
IsolatedNode
UnreachableNode
PotentialInfiniteLoop
InvalidFieldReference
Trait Implementations§
Source§impl Debug for TopologyError
impl Debug for TopologyError
Source§impl Display for TopologyError
impl Display for TopologyError
Source§impl Error for TopologyError
impl Error for TopologyError
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 Freeze for TopologyError
impl RefUnwindSafe for TopologyError
impl Send for TopologyError
impl Sync for TopologyError
impl Unpin for TopologyError
impl UnsafeUnpin for TopologyError
impl UnwindSafe for TopologyError
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