pub enum CsrError {
OutOfRange {
ordinal: Ordinal,
nodes: u32,
},
Offsets {
targets: usize,
},
}Expand description
A failure while building adjacency.
Variants§
OutOfRange
An edge names an ordinal at or beyond the node count.
Offsets
The offsets array is not monotone or does not end at the targets length.
Trait Implementations§
impl Eq for CsrError
Source§impl Error for CsrError
impl Error for CsrError
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()
Source§impl From<CsrError> for ClosureError
impl From<CsrError> for ClosureError
Source§impl From<CsrError> for PersistError
impl From<CsrError> for PersistError
impl StructuralPartialEq for CsrError
Auto Trait Implementations§
impl Freeze for CsrError
impl RefUnwindSafe for CsrError
impl Send for CsrError
impl Sync for CsrError
impl Unpin for CsrError
impl UnsafeUnpin for CsrError
impl UnwindSafe for CsrError
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