Enum graphlib::GraphErr [−][src]
pub enum GraphErr {
NoSuchVertex,
NoSuchEdge,
CannotAddEdge,
InvalidWeight,
CycleError,
CouldNotRender,
InvalidGraphName,
}
Expand description
Graph operation error
Variants
There is no vertex with the given id in the graph
There is no such edge in the graph
Could not add an edge to the graph
The given weight is invalid
The operation cannot be performed as it will create a cycle in the graph.
Could not render .dot file
The name of the graph is invalid. Check this out for more information.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GraphErr
impl UnwindSafe for GraphErr
Blanket Implementations
Mutably borrows from an owned value. Read more