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
sourceimpl StoreError
impl StoreError
pub fn open_during_transaction() -> StoreError
pub fn read_transaction_already_exists() -> StoreError
Trait Implementations
sourceimpl Debug for StoreError
impl Debug for StoreError
sourceimpl Display for StoreError
impl Display for StoreError
sourceimpl Error for StoreError
impl Error for StoreError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<DataError> for StoreError
impl From<DataError> for StoreError
sourceimpl From<Error> for StoreError
impl From<Error> for StoreError
sourceimpl<T> From<PoisonError<T>> for StoreError
impl<T> From<PoisonError<T>> for StoreError
sourcefn from(_: PoisonError<T>) -> StoreError
fn from(_: PoisonError<T>) -> StoreError
Converts to this type from the input type.
sourceimpl From<StoreError> for MigrateError
impl From<StoreError> for MigrateError
sourcefn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
sourceimpl Into<StoreError> for ErrorImpl
impl Into<StoreError> for ErrorImpl
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more