pub enum TwoPhaseJournalError {
Codec(String),
Backend(String),
}Expand description
Journal persistence failure.
Variants§
Codec(String)
Journal record encode/decode failed.
Backend(String)
Underlying journal storage backend failed.
Trait Implementations§
Source§impl Clone for TwoPhaseJournalError
impl Clone for TwoPhaseJournalError
Source§fn clone(&self) -> TwoPhaseJournalError
fn clone(&self) -> TwoPhaseJournalError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TwoPhaseJournalError
impl Debug for TwoPhaseJournalError
Source§impl Display for TwoPhaseJournalError
impl Display for TwoPhaseJournalError
impl Eq for TwoPhaseJournalError
Source§impl Error for TwoPhaseJournalError
impl Error for TwoPhaseJournalError
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 From<TwoPhaseJournalError> for TwoPhaseError
impl From<TwoPhaseJournalError> for TwoPhaseError
Source§fn from(source: TwoPhaseJournalError) -> Self
fn from(source: TwoPhaseJournalError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TwoPhaseJournalError
impl PartialEq for TwoPhaseJournalError
impl StructuralPartialEq for TwoPhaseJournalError
Auto Trait Implementations§
impl Freeze for TwoPhaseJournalError
impl RefUnwindSafe for TwoPhaseJournalError
impl Send for TwoPhaseJournalError
impl Sync for TwoPhaseJournalError
impl Unpin for TwoPhaseJournalError
impl UnsafeUnpin for TwoPhaseJournalError
impl UnwindSafe for TwoPhaseJournalError
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