pub enum KernelError {
Journal(JournalError),
Crashed,
LostLease(TxnId),
NotLive(TxnId),
}Variants§
Journal(JournalError)
Crashed
A fault-injected crash (fake harness): this handle must be discarded.
LostLease(TxnId)
Another owner holds the lease; this handle no longer owns the transaction.
NotLive(TxnId)
Trait Implementations§
Source§impl Debug for KernelError
impl Debug for KernelError
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.
Auto Trait Implementations§
impl Freeze for KernelError
impl !RefUnwindSafe for KernelError
impl Send for KernelError
impl Sync for KernelError
impl Unpin for KernelError
impl UnsafeUnpin for KernelError
impl !UnwindSafe for KernelError
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