pub enum Resolution {
Finalized {
target: ResolutionTarget,
resource_version: u64,
manifest_cid: Cid,
},
Voided {
target: ResolutionTarget,
void_transfer_id: TransferId,
},
Compensated {
target: ResolutionTarget,
compensation_transfer_id: TransferId,
},
RejectedConflict {
target: ResolutionTarget,
winning_operation_id: OperationId,
winning_version: u64,
losing_accounting: ConflictAccountingResolution,
},
}Expand description
Immutable terminal resolution. ManualReview and Quarantined are never
terminal until one of these records is durably committed. A record that
references an accounting effect (Voided, Compensated, or the losing
side’s disposition in RejectedConflict) is committed only after the
referenced transfer is durably confirmed.
Variants§
Finalized
Voided
Compensated
RejectedConflict
Fields
§
target: ResolutionTarget§
winning_operation_id: OperationId§
losing_accounting: ConflictAccountingResolutionImplementations§
Source§impl Resolution
impl Resolution
pub const fn target(&self) -> ResolutionTarget
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Source§fn clone(&self) -> Resolution
fn clone(&self) -> Resolution
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 moreSource§impl Debug for Resolution
impl Debug for Resolution
Source§impl PartialEq for Resolution
impl PartialEq for Resolution
Source§fn eq(&self, other: &Resolution) -> bool
fn eq(&self, other: &Resolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Resolution
impl StructuralPartialEq for Resolution
Auto Trait Implementations§
impl Freeze for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
impl UnwindSafe for Resolution
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