pub enum MandateFinalizationRejectReason {
InvalidRequest,
DecisionMissing,
InvalidDecisionState,
DeliberatorFailed,
ActInterruptedBeforeDispatch,
ActChangedNothing,
}Variants§
InvalidRequest
DecisionMissing
InvalidDecisionState
DeliberatorFailed
ActInterruptedBeforeDispatch
An orphaned ACT review with no reserved mutation or dispatch claim. The review was interrupted after deciding, before any external action could run; it is safe to suspend the intention and retry.
ActChangedNothing
An ACT review whose action ledger proves nothing reached the outside world: no mutation succeeded, none has an unknown outcome. Retried with backoff; the owner has nothing to reconcile.
Implementations§
Source§impl MandateFinalizationRejectReason
impl MandateFinalizationRejectReason
Sourcepub fn owner_sentence(self) -> &'static str
pub fn owner_sentence(self) -> &'static str
What happened to the review, as the owner reads it after “a review”.
Sourcepub fn retries_automatically(self) -> bool
pub fn retries_automatically(self) -> bool
Whether the mandate retries on its own after this failure.
pub fn as_str(self) -> &'static str
Sourcepub fn owner_text(self) -> &'static str
pub fn owner_text(self) -> &'static str
What went wrong, in the owner’s words: no internal stage or component names.
Trait Implementations§
impl Copy for MandateFinalizationRejectReason
Source§impl<'de> Deserialize<'de> for MandateFinalizationRejectReason
impl<'de> Deserialize<'de> for MandateFinalizationRejectReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MandateFinalizationRejectReason
impl StructuralPartialEq for MandateFinalizationRejectReason
Auto Trait Implementations§
impl Forget for MandateFinalizationRejectReason
impl Freeze for MandateFinalizationRejectReason
impl Move for MandateFinalizationRejectReason
impl RefUnwindSafe for MandateFinalizationRejectReason
impl Send for MandateFinalizationRejectReason
impl Sync for MandateFinalizationRejectReason
impl Unpin for MandateFinalizationRejectReason
impl UnsafeUnpin for MandateFinalizationRejectReason
impl UnwindSafe for MandateFinalizationRejectReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more