pub enum GraphDeltaError {
NodeNotFound(String),
EdgeNotFound(String),
InvalidOperation(String),
DeltaError(String),
CycleDetected,
ConstraintViolation(String),
}Expand description
Errors that can occur during graph delta operations
Variants§
NodeNotFound(String)
Node not found
EdgeNotFound(String)
Edge not found
InvalidOperation(String)
Invalid operation
DeltaError(String)
Delta error
CycleDetected
Cycle detected
ConstraintViolation(String)
Constraint violation
Trait Implementations§
Source§impl Clone for GraphDeltaError
impl Clone for GraphDeltaError
Source§impl Debug for GraphDeltaError
impl Debug for GraphDeltaError
Source§impl Display for GraphDeltaError
impl Display for GraphDeltaError
Source§impl Error for GraphDeltaError
impl Error for GraphDeltaError
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 Forget for GraphDeltaError
impl Freeze for GraphDeltaError
impl Move for GraphDeltaError
impl RefUnwindSafe for GraphDeltaError
impl Send for GraphDeltaError
impl Sync for GraphDeltaError
impl Unpin for GraphDeltaError
impl UnsafeUnpin for GraphDeltaError
impl UnwindSafe for GraphDeltaError
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