pub enum ChemfilesImportError {
InvalidFrame(String),
Io(Error),
FeatureDisabled,
}Expand description
Errors from chemfiles I/O or conversion (or missing feature).
Variants§
InvalidFrame(String)
Atom / property count mismatch or other structural problem.
Io(Error)
I/O while reading a trajectory path.
FeatureDisabled
This build was compiled without the chemfiles Cargo feature.
Trait Implementations§
Source§impl Debug for ChemfilesImportError
impl Debug for ChemfilesImportError
Source§impl Display for ChemfilesImportError
impl Display for ChemfilesImportError
Source§impl Error for ChemfilesImportError
impl Error for ChemfilesImportError
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 !RefUnwindSafe for ChemfilesImportError
impl !UnwindSafe for ChemfilesImportError
impl Freeze for ChemfilesImportError
impl Send for ChemfilesImportError
impl Sync for ChemfilesImportError
impl Unpin for ChemfilesImportError
impl UnsafeUnpin for ChemfilesImportError
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