pub enum GraphDbError {
Backend(String),
NotImplemented(&'static str),
InvalidInput(String),
Serialization(String),
}Expand description
Error type emitted by graph store adapters.
Variants§
Backend(String)
Backend-specific error with details.
NotImplemented(&'static str)
Placeholder for unfinished features.
InvalidInput(String)
Validation or input parsing error.
Serialization(String)
Serialization/deserialization error.
Trait Implementations§
Source§impl Debug for GraphDbError
impl Debug for GraphDbError
Source§impl Display for GraphDbError
impl Display for GraphDbError
Source§impl Error for GraphDbError
impl Error for GraphDbError
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 Freeze for GraphDbError
impl RefUnwindSafe for GraphDbError
impl Send for GraphDbError
impl Sync for GraphDbError
impl Unpin for GraphDbError
impl UnsafeUnpin for GraphDbError
impl UnwindSafe for GraphDbError
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