pub enum GraphifyError {
InvalidNode(String),
InvalidEdge(String),
DuplicateNode(String),
NodeNotFound(String),
IoError(Error),
SerializationError(Error),
GraphError(String),
}Variants§
InvalidNode(String)
InvalidEdge(String)
DuplicateNode(String)
NodeNotFound(String)
IoError(Error)
SerializationError(Error)
GraphError(String)
Trait Implementations§
Source§impl Debug for GraphifyError
impl Debug for GraphifyError
Source§impl Display for GraphifyError
impl Display for GraphifyError
Source§impl Error for GraphifyError
impl Error for GraphifyError
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<Error> for GraphifyError
impl From<Error> for GraphifyError
Auto Trait Implementations§
impl Freeze for GraphifyError
impl !RefUnwindSafe for GraphifyError
impl Send for GraphifyError
impl Sync for GraphifyError
impl Unpin for GraphifyError
impl UnsafeUnpin for GraphifyError
impl !UnwindSafe for GraphifyError
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