pub enum GraphComparisonError<IndexType> {
NodeCountMismatch,
EdgeCountMismatch,
NodeDataMismatch(NodeIndex<IndexType>),
EdgeDataMismatch(EdgeIndex<IndexType>),
EdgeEndpointMismatch(EdgeIndex<IndexType>),
}Variants§
NodeCountMismatch
EdgeCountMismatch
NodeDataMismatch(NodeIndex<IndexType>)
EdgeDataMismatch(EdgeIndex<IndexType>)
EdgeEndpointMismatch(EdgeIndex<IndexType>)
Trait Implementations§
Source§impl<IndexType: Debug> Debug for GraphComparisonError<IndexType>
impl<IndexType: Debug> Debug for GraphComparisonError<IndexType>
Source§impl<IndexType> Display for GraphComparisonError<IndexType>
impl<IndexType> Display for GraphComparisonError<IndexType>
Source§impl<IndexType> Error for GraphComparisonError<IndexType>
impl<IndexType> Error for GraphComparisonError<IndexType>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<IndexType> Freeze for GraphComparisonError<IndexType>where
IndexType: Freeze,
impl<IndexType> RefUnwindSafe for GraphComparisonError<IndexType>where
IndexType: RefUnwindSafe,
impl<IndexType> Send for GraphComparisonError<IndexType>where
IndexType: Send,
impl<IndexType> Sync for GraphComparisonError<IndexType>where
IndexType: Sync,
impl<IndexType> Unpin for GraphComparisonError<IndexType>where
IndexType: Unpin,
impl<IndexType> UnwindSafe for GraphComparisonError<IndexType>where
IndexType: UnwindSafe,
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