pub struct KekuleError {
pub detail: String,
}Expand description
Error returned when no valid Kekulé form can be found.
Fields§
§detail: StringTrait Implementations§
Source§impl Clone for KekuleError
impl Clone for KekuleError
Source§fn clone(&self) -> KekuleError
fn clone(&self) -> KekuleError
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 KekuleError
impl Debug for KekuleError
Source§impl Display for KekuleError
impl Display for KekuleError
impl Eq for KekuleError
Source§impl Error for KekuleError
impl Error for KekuleError
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 KekuleError
impl PartialEq for KekuleError
Source§fn eq(&self, other: &KekuleError) -> bool
fn eq(&self, other: &KekuleError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KekuleError
Auto Trait Implementations§
impl Freeze for KekuleError
impl RefUnwindSafe for KekuleError
impl Send for KekuleError
impl Sync for KekuleError
impl Unpin for KekuleError
impl UnsafeUnpin for KekuleError
impl UnwindSafe for KekuleError
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