pub enum ErrorKind {
Show 35 variants
NoError,
NotImplemented,
IoError,
IncorrectAllocationSize,
PathIsTooLong,
Utf8ValidationError,
AllocationFailure,
IncorrectLayout,
ArrayIsFull,
MagicMismatch,
DataFileNotInitialized,
SliceConversionError,
LockError,
FailedToBuildPath,
FileIdOverflow,
ExtentLimitReached,
IncorrectExtentSize,
IncorrectBlockSize,
IncorrectExtentSettings,
LoggerIsTerminated,
StringParseError,
FileNotOpened,
ExtentDoesNotExist,
FileDoesNotExist,
BlockDoesNotExist,
ObjectDoesNotExist,
ObjectIsDeleted,
UnexpectedCheckpoint,
BlockChecksumMismatch,
TimeOperationError,
DbSizeLimitReached,
TryLockError,
BlockCrcMismatch,
Timeout,
CheckpointStoreSizeLimitReached,
}
Expand description
Types of errors.
Variants§
NoError
NotImplemented
IoError
IncorrectAllocationSize
PathIsTooLong
Utf8ValidationError
AllocationFailure
IncorrectLayout
ArrayIsFull
MagicMismatch
DataFileNotInitialized
SliceConversionError
LockError
FailedToBuildPath
FileIdOverflow
ExtentLimitReached
IncorrectExtentSize
IncorrectBlockSize
IncorrectExtentSettings
LoggerIsTerminated
StringParseError
FileNotOpened
ExtentDoesNotExist
FileDoesNotExist
BlockDoesNotExist
ObjectDoesNotExist
ObjectIsDeleted
UnexpectedCheckpoint
BlockChecksumMismatch
TimeOperationError
DbSizeLimitReached
TryLockError
BlockCrcMismatch
Timeout
CheckpointStoreSizeLimitReached
Trait Implementations§
impl Copy for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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