#[non_exhaustive]pub enum RetractOutcome {
Accepted,
Declined,
}Expand description
A turn/retracted settlement outcome. Open enum: decode is tolerant — a
value outside the list reads as Accepted (the event’s historical meaning —
pre-feature hosts emit it only for accepted retracts), never fails. The
bundle keeps enumerating the known values for codegen and docs.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Accepted
The retract was durably accepted; the submission was retracted.
Declined
The retract settled rejected (the submission stood); the client folds the legacy declined rollback.
Trait Implementations§
Source§impl Clone for RetractOutcome
impl Clone for RetractOutcome
impl Copy for RetractOutcome
Source§impl Debug for RetractOutcome
impl Debug for RetractOutcome
Source§impl<'de> Deserialize<'de> for RetractOutcome
impl<'de> Deserialize<'de> for RetractOutcome
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 RetractOutcome
Source§impl PartialEq for RetractOutcome
impl PartialEq for RetractOutcome
Source§impl Serialize for RetractOutcome
impl Serialize for RetractOutcome
impl StructuralPartialEq for RetractOutcome
Auto Trait Implementations§
impl Freeze for RetractOutcome
impl RefUnwindSafe for RetractOutcome
impl Send for RetractOutcome
impl Sync for RetractOutcome
impl Unpin for RetractOutcome
impl UnsafeUnpin for RetractOutcome
impl UnwindSafe for RetractOutcome
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