pub enum TieredStorageError {
Io(Error),
MagicNumberMismatch(u64, u64),
}
Variants§
Trait Implementations§
source§impl Debug for TieredStorageError
impl Debug for TieredStorageError
source§impl Display for TieredStorageError
impl Display for TieredStorageError
source§impl Error for TieredStorageError
impl Error for TieredStorageError
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()
source§impl From<Error> for TieredStorageError
impl From<Error> for TieredStorageError
source§impl From<TieredStorageError> for AccountsFileError
impl From<TieredStorageError> for AccountsFileError
source§fn from(source: TieredStorageError) -> Self
fn from(source: TieredStorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TieredStorageError
impl Send for TieredStorageError
impl Sync for TieredStorageError
impl Unpin for TieredStorageError
impl !UnwindSafe for TieredStorageError
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