Enum rkv::StoreError
source · pub enum StoreError {
Show 14 variants
ManagerPoisonError,
DatabaseCorrupted,
KeyValuePairNotFound,
KeyValuePairBadSize,
FileInvalid,
MapFull,
DbsFull,
ReadersFull,
IoError(Error),
UnsuitableEnvironmentPath(PathBuf),
DataError(DataError),
SafeModeError(SafeModeError),
ReadTransactionAlreadyExists(ThreadId),
OpenAttemptedDuringTransaction(ThreadId),
}
Variants§
ManagerPoisonError
DatabaseCorrupted
KeyValuePairNotFound
KeyValuePairBadSize
FileInvalid
MapFull
DbsFull
ReadersFull
IoError(Error)
UnsuitableEnvironmentPath(PathBuf)
DataError(DataError)
SafeModeError(SafeModeError)
ReadTransactionAlreadyExists(ThreadId)
OpenAttemptedDuringTransaction(ThreadId)
Implementations§
source§impl StoreError
impl StoreError
pub fn open_during_transaction() -> StoreError
pub fn read_transaction_already_exists() -> StoreError
Trait Implementations§
source§impl Debug for StoreError
impl Debug for StoreError
source§impl Display for StoreError
impl Display for StoreError
source§impl Error for StoreError
impl Error for StoreError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<DataError> for StoreError
impl From<DataError> for StoreError
source§impl From<Error> for StoreError
impl From<Error> for StoreError
source§impl<T> From<PoisonError<T>> for StoreError
impl<T> From<PoisonError<T>> for StoreError
source§fn from(_: PoisonError<T>) -> StoreError
fn from(_: PoisonError<T>) -> StoreError
Converts to this type from the input type.
source§impl From<StoreError> for MigrateError
impl From<StoreError> for MigrateError
source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
source§impl Into<StoreError> for ErrorImpl
impl Into<StoreError> for ErrorImpl
source§fn into(self) -> StoreError
fn into(self) -> StoreError
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StoreError
impl Send for StoreError
impl Sync for StoreError
impl Unpin for StoreError
impl !UnwindSafe for StoreError
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