pub enum GaussianError {
MissingChargeMultiplicity,
NoAtoms,
UnknownElement(String),
InvalidCoordinate(String),
NoStandardOrientation,
}Expand description
Errors that can occur when parsing Gaussian files.
Variants§
MissingChargeMultiplicity
The charge/multiplicity line was missing or malformed.
NoAtoms
No atom coordinates were found in the file.
UnknownElement(String)
An element symbol or atomic number was not recognised.
InvalidCoordinate(String)
A coordinate value could not be parsed as a float.
NoStandardOrientation
The log file contained no Standard orientation: block.
Trait Implementations§
Source§impl Clone for GaussianError
impl Clone for GaussianError
Source§fn clone(&self) -> GaussianError
fn clone(&self) -> GaussianError
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 GaussianError
impl Debug for GaussianError
Source§impl Display for GaussianError
impl Display for GaussianError
Source§impl Error for GaussianError
impl Error for GaussianError
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 GaussianError
impl PartialEq for GaussianError
Source§fn eq(&self, other: &GaussianError) -> bool
fn eq(&self, other: &GaussianError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GaussianError
Auto Trait Implementations§
impl Freeze for GaussianError
impl RefUnwindSafe for GaussianError
impl Send for GaussianError
impl Sync for GaussianError
impl Unpin for GaussianError
impl UnsafeUnpin for GaussianError
impl UnwindSafe for GaussianError
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