pub enum FeoxError {
Show 32 variants
InvalidKeySize,
InvalidValueSize,
KeyNotFound,
DatabaseFull,
OutOfMemory,
OlderTimestamp,
InvalidNumericValue,
NumericOverflow,
InvalidRange,
MultiTenantDisabled,
NoDevice,
InvalidMetadata,
CorruptedRecord,
InvalidRecord,
InvalidDevice,
InvalidOperation,
IoError(Error),
SystemError(i32),
JsonPatchError(String),
AllocationFailed,
LockPoisoned,
ChannelClosed,
ChannelError,
ShuttingDown,
Timeout,
NotImplemented,
Unsupported,
SizeMismatch {
expected: usize,
actual: usize,
},
InvalidArgument,
OutOfSpace,
CorruptedData,
DuplicateKey,
}
Variants§
InvalidKeySize
InvalidValueSize
KeyNotFound
DatabaseFull
OutOfMemory
OlderTimestamp
InvalidNumericValue
NumericOverflow
InvalidRange
MultiTenantDisabled
NoDevice
InvalidMetadata
CorruptedRecord
InvalidRecord
InvalidDevice
InvalidOperation
IoError(Error)
SystemError(i32)
JsonPatchError(String)
AllocationFailed
LockPoisoned
ChannelClosed
ChannelError
ShuttingDown
Timeout
NotImplemented
Unsupported
SizeMismatch
InvalidArgument
OutOfSpace
CorruptedData
DuplicateKey
Implementations§
Trait Implementations§
Source§impl Error for FeoxError
impl Error for FeoxError
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 Freeze for FeoxError
impl !RefUnwindSafe for FeoxError
impl Send for FeoxError
impl Sync for FeoxError
impl Unpin for FeoxError
impl !UnwindSafe for FeoxError
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