Struct daggy::WouldCycle [] [src]

pub struct WouldCycle<E>(pub E);

An error returned by the Dag::add_edge method in the case that adding an edge would have caused the graph to cycle.

Trait Implementations

impl<E: Copy> Copy for WouldCycle<E>
[src]

impl<E: Clone> Clone for WouldCycle<E>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<E> Debug for WouldCycle<E>
[src]

[src]

Formats the value using the given formatter. Read more

impl<E> Display for WouldCycle<E>
[src]

[src]

Formats the value using the given formatter. Read more

impl<E> Error for WouldCycle<E>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl<E> Send for WouldCycle<E> where
    E: Send

impl<E> Sync for WouldCycle<E> where
    E: Sync