Enum pearl::error::ValidationErrorKind
source · pub enum ValidationErrorKind {
BlobKeySize,
BlobMagicByte,
BlobVersion,
IndexChecksum,
IndexVersion,
IndexKeySize,
IndexMagicByte,
RecordDataChecksum,
RecordHeaderChecksum,
RecordMagicByte,
IndexBlobSize,
IndexNotWritten,
}
Expand description
Variants of validation errors.
Variants§
BlobKeySize
Blob key size.
BlobMagicByte
Blob magic byte.
BlobVersion
Blob version.
IndexChecksum
Index checksum.
IndexVersion
Index version.
IndexKeySize
Index key size.
IndexMagicByte
Index magic byte
RecordDataChecksum
Record data checksum.
RecordHeaderChecksum
Record header checksum.
RecordMagicByte
Record magic byte.
IndexBlobSize
Index blob size
IndexNotWritten
Index is not written (index header corrupted)
Trait Implementations§
source§impl Clone for ValidationErrorKind
impl Clone for ValidationErrorKind
source§fn clone(&self) -> ValidationErrorKind
fn clone(&self) -> ValidationErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ValidationErrorKind
impl Debug for ValidationErrorKind
source§impl PartialEq<ValidationErrorKind> for ValidationErrorKind
impl PartialEq<ValidationErrorKind> for ValidationErrorKind
source§fn eq(&self, other: &ValidationErrorKind) -> bool
fn eq(&self, other: &ValidationErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValidationErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for ValidationErrorKind
impl Send for ValidationErrorKind
impl Sync for ValidationErrorKind
impl Unpin for ValidationErrorKind
impl UnwindSafe for ValidationErrorKind
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