pub enum CategorizedGraphError {
CategoryAlreadyExists(String),
CategoryNotFound(String),
}Variants§
Trait Implementations§
Source§impl Clone for CategorizedGraphError
impl Clone for CategorizedGraphError
Source§fn clone(&self) -> CategorizedGraphError
fn clone(&self) -> CategorizedGraphError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CategorizedGraphError
impl Debug for CategorizedGraphError
Source§impl Display for CategorizedGraphError
impl Display for CategorizedGraphError
Source§impl Error for CategorizedGraphError
impl Error for CategorizedGraphError
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 CategorizedGraphError
impl RefUnwindSafe for CategorizedGraphError
impl Send for CategorizedGraphError
impl Sync for CategorizedGraphError
impl Unpin for CategorizedGraphError
impl UnsafeUnpin for CategorizedGraphError
impl UnwindSafe for CategorizedGraphError
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