pub enum GraphModificationError {
StartNodeDoesNotExist,
EndNodeDoesNotExist,
}
Expand description
An error type for graph modifications.
This type is used by the MutableGraph
trait.
Variants§
StartNodeDoesNotExist
An edge that refers to a nonexistent start node was added to the graph
EndNodeDoesNotExist
An edge that refers to a nonexistent end node was added to the graph
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphModificationError
impl RefUnwindSafe for GraphModificationError
impl Send for GraphModificationError
impl Sync for GraphModificationError
impl Unpin for GraphModificationError
impl UnwindSafe for GraphModificationError
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