#[repr(C)]pub enum LsmErrorCode {
Show 17 variants
LsmError = 1,
LsmBusy = 5,
LsmNoMem = 7,
LsmReadOnly = 8,
LsmIOErr = 10,
LsmCorrupt = 11,
LsmFull = 13,
LsmCantOpen = 14,
LsmProtocol = 15,
LsmMisuse = 21,
LsmMismatch = 50,
LsmConversionErr = 55,
LsmMetricCreation = 56,
LsmMetricRegistration = 57,
LsmMetricsEmpty = 58,
LsmBgThreadUnavailable = 59,
LsmUnknownCode = 60,
}
Expand description
These are the different kind of errors that we can encounter.
Variants§
LsmError = 1
LsmBusy = 5
LsmNoMem = 7
LsmReadOnly = 8
LsmIOErr = 10
LsmCorrupt = 11
LsmFull = 13
LsmCantOpen = 14
LsmProtocol = 15
LsmMisuse = 21
LsmMismatch = 50
LsmConversionErr = 55
LsmMetricCreation = 56
LsmMetricRegistration = 57
LsmMetricsEmpty = 58
LsmUnknownCode = 60
Trait Implementations§
Source§impl Clone for LsmErrorCode
impl Clone for LsmErrorCode
Source§fn clone(&self) -> LsmErrorCode
fn clone(&self) -> LsmErrorCode
Returns a duplicate 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 LsmErrorCode
impl Debug for LsmErrorCode
Source§impl Display for LsmErrorCode
impl Display for LsmErrorCode
Source§impl Error for LsmErrorCode
impl Error for LsmErrorCode
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 LsmErrorCode
impl PartialEq for LsmErrorCode
Source§impl TryFrom<i32> for LsmErrorCode
The following try_from
s are to be able to parse an integer to the
corresponding enum (one of the above).
impl TryFrom<i32> for LsmErrorCode
The following try_from
s are to be able to parse an integer to the
corresponding enum (one of the above).
impl Copy for LsmErrorCode
impl Eq for LsmErrorCode
impl StructuralPartialEq for LsmErrorCode
Auto Trait Implementations§
impl Freeze for LsmErrorCode
impl RefUnwindSafe for LsmErrorCode
impl Send for LsmErrorCode
impl Sync for LsmErrorCode
impl Unpin for LsmErrorCode
impl UnwindSafe for LsmErrorCode
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