pub enum StorageFormatError {
UnsupportedVersion {
format: &'static str,
found: u16,
supported: u16,
},
UnsupportedFeature {
format: &'static str,
feature: &'static str,
tag: u64,
},
}Expand description
An intact storage envelope requires a different reader capability. Refusal does not authorize repair, truncation, or database recreation.
Variants§
Trait Implementations§
Source§impl Clone for StorageFormatError
impl Clone for StorageFormatError
Source§impl Debug for StorageFormatError
impl Debug for StorageFormatError
Source§impl Display for StorageFormatError
impl Display for StorageFormatError
impl Eq for StorageFormatError
Source§impl Error for StorageFormatError
impl Error for StorageFormatError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for StorageFormatError
impl PartialEq for StorageFormatError
impl StructuralPartialEq for StorageFormatError
Auto Trait Implementations§
impl Freeze for StorageFormatError
impl RefUnwindSafe for StorageFormatError
impl Send for StorageFormatError
impl Sync for StorageFormatError
impl Unpin for StorageFormatError
impl UnsafeUnpin for StorageFormatError
impl UnwindSafe for StorageFormatError
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