Enum graph_theory::GraphErrorKind
source · pub enum GraphErrorKind {
NodeNotFound,
EdgeNotFound,
NodeAlreadyExists,
EdgeAlreadyExists,
OutOfRange {
entry: Entry,
index: usize,
max: usize,
},
Custom {
message: String,
},
}
Variants§
Trait Implementations§
source§impl Clone for GraphErrorKind
impl Clone for GraphErrorKind
source§fn clone(&self) -> GraphErrorKind
fn clone(&self) -> GraphErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GraphErrorKind
impl Debug for GraphErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for GraphErrorKind
impl Send for GraphErrorKind
impl Sync for GraphErrorKind
impl Unpin for GraphErrorKind
impl UnwindSafe for GraphErrorKind
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