pub enum LogError {
HeadMismatch,
Io(Error),
Corrupt(String),
}Expand description
Failure modes of an OpLog backend.
Variants§
HeadMismatch
Parent hash of the appended entry does not match the current head.
Io(Error)
Underlying storage I/O failure.
Corrupt(String)
Stored data could not be decoded as valid entries.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogError
impl !RefUnwindSafe for LogError
impl Send for LogError
impl Sync for LogError
impl Unpin for LogError
impl UnsafeUnpin for LogError
impl !UnwindSafe for LogError
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