Enum pearl::tools::error::ToolsError
source · pub enum ToolsError {
RecordHeaderValidation(String),
IndexHeaderValidation(String),
IndexValidation(String),
BlobHeaderValidation(String),
RecordValidation(String),
SkipRecordData(String),
UnsupportedMigration(u32, u32),
UnsupportedKeySize(u16),
}
Expand description
Error type
Variants§
RecordHeaderValidation(String)
Failed to validate record header
IndexHeaderValidation(String)
Failed to validate index header
IndexValidation(String)
Failed to validate index
BlobHeaderValidation(String)
Failed to validate blob header
RecordValidation(String)
Failed to validate record
SkipRecordData(String)
Skip wrong record is not possible
UnsupportedMigration(u32, u32)
Can’t migrate blob
UnsupportedKeySize(u16)
Key size is not supported
Trait Implementations§
source§impl Debug for ToolsError
impl Debug for ToolsError
source§impl Display for ToolsError
impl Display for ToolsError
source§impl Error for ToolsError
impl Error for ToolsError
1.30.0 · 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()
Auto Trait Implementations§
impl RefUnwindSafe for ToolsError
impl Send for ToolsError
impl Sync for ToolsError
impl Unpin for ToolsError
impl UnwindSafe for ToolsError
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