pub enum IupacError {
Empty,
NotSupported,
}Expand description
Error returned by name.
Variants§
Empty
The molecule contains no atoms.
NotSupported
The molecule is outside the supported naming scope.
Trait Implementations§
Source§impl Clone for IupacError
impl Clone for IupacError
Source§fn clone(&self) -> IupacError
fn clone(&self) -> IupacError
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 IupacError
impl Debug for IupacError
Source§impl Display for IupacError
impl Display for IupacError
impl Eq for IupacError
Source§impl Error for IupacError
impl Error for IupacError
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 PartialEq for IupacError
impl PartialEq for IupacError
Source§fn eq(&self, other: &IupacError) -> bool
fn eq(&self, other: &IupacError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IupacError
Auto Trait Implementations§
impl Freeze for IupacError
impl RefUnwindSafe for IupacError
impl Send for IupacError
impl Sync for IupacError
impl Unpin for IupacError
impl UnsafeUnpin for IupacError
impl UnwindSafe for IupacError
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