pub enum OwnerPromotionJournalError {
Invariant(String),
Json(Error),
PreparedCommit(PreparedCommitError),
Candidate(RemoteObjectRecordError),
}Expand description
A promotion journal whose recorded state contradicts the request, target, or acceptance it retains. Workflow errors wrap it at the operation boundary.
Variants§
Invariant(String)
Json(Error)
PreparedCommit(PreparedCommitError)
Candidate(RemoteObjectRecordError)
Trait Implementations§
Source§impl Debug for OwnerPromotionJournalError
impl Debug for OwnerPromotionJournalError
Source§impl Display for OwnerPromotionJournalError
impl Display for OwnerPromotionJournalError
Source§impl Error for OwnerPromotionJournalError
impl Error for OwnerPromotionJournalError
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<Error> for OwnerPromotionJournalError
impl From<Error> for OwnerPromotionJournalError
Source§impl From<PreparedCommitError> for OwnerPromotionJournalError
impl From<PreparedCommitError> for OwnerPromotionJournalError
Source§fn from(source: PreparedCommitError) -> Self
fn from(source: PreparedCommitError) -> Self
Converts to this type from the input type.
Source§impl From<RemoteObjectRecordError> for OwnerPromotionJournalError
impl From<RemoteObjectRecordError> for OwnerPromotionJournalError
Source§fn from(source: RemoteObjectRecordError) -> Self
fn from(source: RemoteObjectRecordError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OwnerPromotionJournalError
impl !RefUnwindSafe for OwnerPromotionJournalError
impl Send for OwnerPromotionJournalError
impl Sync for OwnerPromotionJournalError
impl Unpin for OwnerPromotionJournalError
impl UnsafeUnpin for OwnerPromotionJournalError
impl !UnwindSafe for OwnerPromotionJournalError
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