#[non_exhaustive]pub enum PendingSettlement<I> {
Acknowledged {
command_id: String,
input: I,
status: CommandAckStatus,
},
Refused {
command_id: String,
input: I,
reason: Option<String>,
},
Discarded {
command_id: String,
input: I,
},
}Expand description
A fact that retired a pending entry.
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.
Acknowledged
The server acknowledged the command.
Fields
§
input: IThe input the command was submitted with.
§
status: CommandAckStatusThe acknowledgement status the server returned.
Refused
The server durably rejected the command (commandRejected).
Fields
§
input: IThe input the command was submitted with.
Discarded
Local cancellation or drop won before a server terminal was observed.
Trait Implementations§
Source§impl<I: Clone> Clone for PendingSettlement<I>
impl<I: Clone> Clone for PendingSettlement<I>
Source§impl<I: Debug> Debug for PendingSettlement<I>
impl<I: Debug> Debug for PendingSettlement<I>
impl<I: Eq> Eq for PendingSettlement<I>
Source§impl<I: PartialEq> PartialEq for PendingSettlement<I>
impl<I: PartialEq> PartialEq for PendingSettlement<I>
impl<I: PartialEq> StructuralPartialEq for PendingSettlement<I>
Auto Trait Implementations§
impl<I> Forget for PendingSettlement<I>
impl<I> Freeze for PendingSettlement<I>where
I: Freeze,
impl<I> Move for PendingSettlement<I>
impl<I> RefUnwindSafe for PendingSettlement<I>where
I: RefUnwindSafe,
impl<I> Send for PendingSettlement<I>where
I: Send,
impl<I> Sync for PendingSettlement<I>where
I: Sync,
impl<I> Unpin for PendingSettlement<I>where
I: Unpin,
impl<I> UnsafeUnpin for PendingSettlement<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for PendingSettlement<I>where
I: UnwindSafe,
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