Enum chemfiles_sys::chfl_status
source · #[repr(C)]pub enum chfl_status {
CHFL_SUCCESS = 0,
CHFL_MEMORY_ERROR = 1,
CHFL_FILE_ERROR = 2,
CHFL_FORMAT_ERROR = 3,
CHFL_SELECTION_ERROR = 4,
CHFL_CONFIGURATION_ERROR = 5,
CHFL_OUT_OF_BOUNDS = 6,
CHFL_PROPERTY_ERROR = 7,
CHFL_GENERIC_ERROR = 254,
CHFL_CXX_ERROR = 255,
}
Variants§
CHFL_SUCCESS = 0
CHFL_MEMORY_ERROR = 1
CHFL_FILE_ERROR = 2
CHFL_FORMAT_ERROR = 3
CHFL_SELECTION_ERROR = 4
CHFL_CONFIGURATION_ERROR = 5
CHFL_OUT_OF_BOUNDS = 6
CHFL_PROPERTY_ERROR = 7
CHFL_GENERIC_ERROR = 254
CHFL_CXX_ERROR = 255
Trait Implementations§
source§impl Clone for chfl_status
impl Clone for chfl_status
source§fn clone(&self) -> chfl_status
fn clone(&self) -> chfl_status
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 chfl_status
impl Debug for chfl_status
source§impl PartialEq for chfl_status
impl PartialEq for chfl_status
source§fn eq(&self, other: &chfl_status) -> bool
fn eq(&self, other: &chfl_status) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for chfl_status
impl Eq for chfl_status
impl StructuralPartialEq for chfl_status
Auto Trait Implementations§
impl RefUnwindSafe for chfl_status
impl Send for chfl_status
impl Sync for chfl_status
impl Unpin for chfl_status
impl UnwindSafe for chfl_status
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