pub enum JournalError {
Io(Error),
Full,
Ledger(LedgerError),
Corrupt(String),
Integrity(String),
Legacy,
}Variants§
Io(Error)
Full
The preallocation cannot hold the record (compact, or take the sentinel path).
Ledger(LedgerError)
Corrupt(String)
Integrity(String)
The hash chain is broken, or a record before the tail is damaged (I18).
An Integrity failure (§12d); the journal is left as found.
Legacy
Written by an earlier Planarian (journal format 1, before the chain).
Trait Implementations§
Source§impl Debug for JournalError
impl Debug for JournalError
Source§impl From<Error> for JournalError
impl From<Error> for JournalError
Source§impl From<JournalError> for KernelError
impl From<JournalError> for KernelError
Source§fn from(e: JournalError) -> Self
fn from(e: JournalError) -> Self
Converts to this type from the input type.
Source§impl From<LedgerError> for JournalError
impl From<LedgerError> for JournalError
Source§fn from(e: LedgerError) -> Self
fn from(e: LedgerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JournalError
impl !RefUnwindSafe for JournalError
impl Send for JournalError
impl Sync for JournalError
impl Unpin for JournalError
impl UnsafeUnpin for JournalError
impl !UnwindSafe for JournalError
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