#[non_exhaustive]pub enum IncidenceError {
UnknownNode,
UnknownCursor,
NotEnabled,
}Expand description
Why an incidence listing could not start.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnknownNode
The node whose incident edges were requested is not registered.
UnknownCursor
The pagination cursor names a node that is not registered.
NotEnabled
Neighbor listing was not enabled with Graph::enable_neighbor_listing.
Trait Implementations§
Source§impl Clone for IncidenceError
impl Clone for IncidenceError
impl Copy for IncidenceError
Source§impl Debug for IncidenceError
impl Debug for IncidenceError
Source§impl Display for IncidenceError
impl Display for IncidenceError
impl Eq for IncidenceError
Source§impl Error for IncidenceError
impl Error for IncidenceError
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 PartialEq for IncidenceError
impl PartialEq for IncidenceError
impl StructuralPartialEq for IncidenceError
Auto Trait Implementations§
impl Forget for IncidenceError
impl Freeze for IncidenceError
impl Move for IncidenceError
impl RefUnwindSafe for IncidenceError
impl Send for IncidenceError
impl Sync for IncidenceError
impl Unpin for IncidenceError
impl UnsafeUnpin for IncidenceError
impl UnwindSafe for IncidenceError
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