pub enum StructuralError {
Show 13 variants
DoubleNode(NodeID),
MissingInternalEndpoint(NodeID, NodeID, NodeID),
NodeMissingNamespace(String),
NodeMultipleNamespace(String),
EdgeMultipleNamespace(String, String, String),
ClusterBoundary(String, NodeID),
InvalidComponentGraph,
Cycle(NodeID),
DependentRootNode(NodeID, NodeID),
UndeclaredRoot(NodeID),
IncomingAnyEdge(NodeID, NodeID),
OutgoingAllEdge(NodeID, NodeID),
InvalidIdentifierError(String),
}Expand description
An error related to the internal structure of a (syntactically valid, semantically invalid) Cluster.
Variants§
DoubleNode(NodeID)
MissingInternalEndpoint(NodeID, NodeID, NodeID)
NodeMissingNamespace(String)
NodeMultipleNamespace(String)
EdgeMultipleNamespace(String, String, String)
ClusterBoundary(String, NodeID)
InvalidComponentGraph
Cycle(NodeID)
DependentRootNode(NodeID, NodeID)
UndeclaredRoot(NodeID)
IncomingAnyEdge(NodeID, NodeID)
OutgoingAllEdge(NodeID, NodeID)
InvalidIdentifierError(String)
Trait Implementations§
Source§impl Debug for StructuralError
impl Debug for StructuralError
Source§impl Display for StructuralError
impl Display for StructuralError
Source§impl Error for StructuralError
impl Error for StructuralError
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 StructuralError
impl RefUnwindSafe for StructuralError
impl Send for StructuralError
impl Sync for StructuralError
impl Unpin for StructuralError
impl UnsafeUnpin for StructuralError
impl UnwindSafe for StructuralError
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