pub enum CircleJournalError {
Invariant(String),
Protocol(StoreProtocolError),
RemoteObject(RemoteObjectRecordError),
Json {
operation: &'static str,
source: Error,
},
}Expand description
A journal whose recorded state contradicts itself or the commit it describes. Produced by the journal’s own validation; workflow errors wrap it at the operation boundary.
Variants§
Trait Implementations§
Source§impl Debug for CircleJournalError
impl Debug for CircleJournalError
Source§impl Display for CircleJournalError
impl Display for CircleJournalError
Source§impl Error for CircleJournalError
impl Error for CircleJournalError
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<RemoteObjectRecordError> for CircleJournalError
impl From<RemoteObjectRecordError> for CircleJournalError
Source§fn from(source: RemoteObjectRecordError) -> Self
fn from(source: RemoteObjectRecordError) -> Self
Converts to this type from the input type.
Source§impl From<StoreProtocolError> for CircleJournalError
impl From<StoreProtocolError> for CircleJournalError
Source§fn from(source: StoreProtocolError) -> Self
fn from(source: StoreProtocolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CircleJournalError
impl !RefUnwindSafe for CircleJournalError
impl Send for CircleJournalError
impl Sync for CircleJournalError
impl Unpin for CircleJournalError
impl UnsafeUnpin for CircleJournalError
impl !UnwindSafe for CircleJournalError
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