#[non_exhaustive]pub enum GraphNamespaceError {
TooLong {
maximum: usize,
actual: usize,
},
InvalidSegment {
index: usize,
source: NodeIdError,
},
}Expand description
Invalid graph namespace.
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.
TooLong
The encoded namespace exceeded its hard wire and index ceiling.
InvalidSegment
One non-root path segment was not a valid node identity.
Fields
§
source: NodeIdErrorExact node-identity validation failure.
Trait Implementations§
Source§impl Clone for GraphNamespaceError
impl Clone for GraphNamespaceError
Source§impl Debug for GraphNamespaceError
impl Debug for GraphNamespaceError
Source§impl Display for GraphNamespaceError
impl Display for GraphNamespaceError
impl Eq for GraphNamespaceError
Source§impl Error for GraphNamespaceError
impl Error for GraphNamespaceError
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 GraphNamespaceError
impl PartialEq for GraphNamespaceError
impl StructuralPartialEq for GraphNamespaceError
Auto Trait Implementations§
impl Forget for GraphNamespaceError
impl Freeze for GraphNamespaceError
impl Move for GraphNamespaceError
impl RefUnwindSafe for GraphNamespaceError
impl Send for GraphNamespaceError
impl Sync for GraphNamespaceError
impl Unpin for GraphNamespaceError
impl UnsafeUnpin for GraphNamespaceError
impl UnwindSafe for GraphNamespaceError
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