pub enum GenerateError {
MaxNodes,
MaxEdges,
}
Expand description
Stores a graph generating error.
Variants§
Trait Implementations§
Source§impl Clone for GenerateError
impl Clone for GenerateError
Source§fn clone(&self) -> GenerateError
fn clone(&self) -> GenerateError
Returns a copy of the value. Read more
1.0.0 · 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 GenerateError
impl Debug for GenerateError
Source§impl Display for GenerateError
impl Display for GenerateError
Source§impl Error for GenerateError
impl Error for GenerateError
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()
Source§impl From<GenerateError> for ()
impl From<GenerateError> for ()
Source§fn from(_: GenerateError)
fn from(_: GenerateError)
Converts to this type from the input type.
Source§impl Hash for GenerateError
impl Hash for GenerateError
Source§impl Ord for GenerateError
impl Ord for GenerateError
Source§fn cmp(&self, other: &GenerateError) -> Ordering
fn cmp(&self, other: &GenerateError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GenerateError
impl PartialEq for GenerateError
Source§impl PartialOrd for GenerateError
impl PartialOrd for GenerateError
impl Copy for GenerateError
impl Eq for GenerateError
impl StructuralPartialEq for GenerateError
Auto Trait Implementations§
impl Freeze for GenerateError
impl RefUnwindSafe for GenerateError
impl Send for GenerateError
impl Sync for GenerateError
impl Unpin for GenerateError
impl UnwindSafe for GenerateError
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