[][src]Enum graphlib::GraphErr

pub enum GraphErr {
    NoSuchVertex,
    NoSuchEdge,
    CannotAddEdge,
    InvalidWeight,
    CouldNotRender,
    InvalidGraphName,
    InvalidLabel,
}

Graph operation error

Variants

NoSuchVertex

There is no vertex with the given id in the graph

NoSuchEdge

There is no such edge in the graph

CannotAddEdge

Could not add an edge to the graph

InvalidWeight

The given weight is invalid

CouldNotRender

Could not render .dot file

InvalidGraphName

The name of the graph is invalid. Check this out for more information.

InvalidLabel

The name of the given label is invalid. Check this out for more information.

Trait Implementations

impl Clone for GraphErr[src]

impl PartialEq<GraphErr> for GraphErr[src]

impl Debug for GraphErr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]