pub enum CommittedStatus {
Committed {
tx_seq: u64,
},
Rejected {
error_code: RejectedErrorCode,
},
}Expand description
Determined command outcome.
Variants§
Committed
Determined final outcome with state delta and allocated tx_seq.
Rejected
Determined final outcome without state delta but still tied to the
command’s accepted ext_seq.
Fields
§
error_code: RejectedErrorCodeTrait Implementations§
Source§impl Clone for CommittedStatus
impl Clone for CommittedStatus
Source§fn clone(&self) -> CommittedStatus
fn clone(&self) -> CommittedStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommittedStatus
impl Debug for CommittedStatus
Source§impl PartialEq for CommittedStatus
impl PartialEq for CommittedStatus
impl Copy for CommittedStatus
impl Eq for CommittedStatus
impl StructuralPartialEq for CommittedStatus
Auto Trait Implementations§
impl Freeze for CommittedStatus
impl RefUnwindSafe for CommittedStatus
impl Send for CommittedStatus
impl Sync for CommittedStatus
impl Unpin for CommittedStatus
impl UnsafeUnpin for CommittedStatus
impl UnwindSafe for CommittedStatus
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