pub struct SagaCompensationFailure {
pub initiating_failure: Box<Error>,
pub compensation_failure: Box<Error>,
pub compensation_activity_type: String,
pub compensation_registration_order: usize,
}Expand description
A forward saga failure followed by a terminal compensation failure.
Fields§
§initiating_failure: Box<Error>§compensation_failure: Box<Error>§compensation_activity_type: String§compensation_registration_order: usizeTrait Implementations§
Source§impl Debug for SagaCompensationFailure
impl Debug for SagaCompensationFailure
Source§impl Display for SagaCompensationFailure
impl Display for SagaCompensationFailure
Source§impl Error for SagaCompensationFailure
impl Error for SagaCompensationFailure
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()
Auto Trait Implementations§
impl Freeze for SagaCompensationFailure
impl !RefUnwindSafe for SagaCompensationFailure
impl Send for SagaCompensationFailure
impl Sync for SagaCompensationFailure
impl Unpin for SagaCompensationFailure
impl !UnwindSafe for SagaCompensationFailure
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