pub enum BeginReceiptBackedIntentResult {
Created {
revision: u64,
},
ExistingPending {
revision: u64,
},
ExistingCommitted {
revision: u64,
evidence: TerminalEvidence,
},
ExistingRolledBack {
revision: u64,
evidence: TerminalEvidence,
},
BindingConflict,
CapacityExceeded {
current_quantity: u64,
requested_quantity: u64,
limit: u64,
},
StoreCapacityReached {
current_records: u64,
limit: u64,
},
}Expand description
Idempotent outcome of receipt-backed begin-or-load.
Variants§
Created
ExistingPending
ExistingCommitted
ExistingRolledBack
BindingConflict
CapacityExceeded
StoreCapacityReached
Trait Implementations§
Source§impl Clone for BeginReceiptBackedIntentResult
impl Clone for BeginReceiptBackedIntentResult
Source§fn clone(&self) -> BeginReceiptBackedIntentResult
fn clone(&self) -> BeginReceiptBackedIntentResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for BeginReceiptBackedIntentResult
impl StructuralPartialEq for BeginReceiptBackedIntentResult
Auto Trait Implementations§
impl Freeze for BeginReceiptBackedIntentResult
impl RefUnwindSafe for BeginReceiptBackedIntentResult
impl Send for BeginReceiptBackedIntentResult
impl Sync for BeginReceiptBackedIntentResult
impl Unpin for BeginReceiptBackedIntentResult
impl UnsafeUnpin for BeginReceiptBackedIntentResult
impl UnwindSafe for BeginReceiptBackedIntentResult
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