[−][src]Enum rdms::Error
Error enumerates over all possible errors that this package shall return.
Variants
Can be returned by set_cas() API when:
- In non-lsm mode, requested entry is missing but specified CAS is not ZERO. Note that this combination is an alias for create-only operation.
- In lsm mode, requested entry is marked as deleted, and specifed CAS is neither ZERO, nor matching with entry's last modified sequence-number.
- Requested entry's last modified sequence-number does not match with specified CAS.
Fatal case, breaking one of the two LLRB rules.
Fatal case, breaking one of the two LLRB rules. The String component of this variant can be used for debugging. The first parameter in the tuple gives the number of blacks found on the left child, the second parameter gives for right child.
Fatal case, index entries are not in sort-order. The two keys are the mismatching items.
DuplicateKey(String)
Duplicated keys are not allowed in the index. Each and every Key must be unique.
Llrb and Mvcc index uses dirty node marker for newly created nodes in its mutation path.
Supplied key is not found in the index.
FailConversion(String)
Error converting one type to another type.
Expected a native value. TODO: hide this ?
Expected a native delta. TODO: hide this ?
KeySizeExceeded(usize)
Key size, after serializing, exceeds limit.
ValueSizeExceeded(usize)
Value size, after serializing, exceeds limit.
DiffSizeExceeded(usize)
Value-diff size, after serializing, exceeds limit.
DecodeFail(String)
De-serialization failed.
PartialRead(String)
Unable to read expected bytes from file.
PartialWrite(String)
Unable to write full buffer into file.
InvalidFile(String)
IoError(Error)
JsonError(Error)
ThreadFail(String)
InvalidSnapshot(String)
Utf8Error(Utf8Error)
IPCFail(String)
Inter-Process-Communication error
InvalidWAL(String)
Invalid WAL
InvalidBatch(String)
Invalid batch in WAL, write-ahead-log.
__ZBlockOverflow(usize)
__MBlockOverflow(usize)
__MBlockExhausted(usize)
__ZBlockExhausted(usize)
Trait Implementations
impl From<Error> for Error
[src]
impl From<OsString> for Error
[src]
impl<T> From<SendError<T>> for Error
[src]
impl From<RecvError> for Error
[src]
impl From<Box<dyn Any + 'static + Send>> for Error
[src]
impl From<Error> for Error
[src]
impl From<Utf8Error> for Error
[src]
impl PartialEq<Error> for Error
[src]
impl Debug for Error
[src]
Auto Trait Implementations
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
impl !RefUnwindSafe for Error
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,