pub struct PreparedStoreOperationCommit {
pub common: PreparedStoreOperationCommon,
pub head: StoreDeviceHead,
pub head_object: ExactObjectRef,
pub history_evidence: RetainedMergeCommitEvidence,
}Fields§
§common: PreparedStoreOperationCommon§head: StoreDeviceHead§head_object: ExactObjectRef§history_evidence: RetainedMergeCommitEvidenceImplementations§
Source§impl PreparedStoreOperationCommit
impl PreparedStoreOperationCommit
pub fn merge_membership_activation_remote_objects( &self, transition: &PreparedMembershipTransition, publication: &PreparedMembershipPublication, wraps: &[PreparedWrappedStoreKey], ) -> Result<Vec<ClosedRemoteObject>, PreparedCommitError>
pub fn merge_membership_resolution_remote_objects( &self, transition: &PreparedMembershipTransition, publication: &PreparedMembershipPublication, resolution: &StoreMembershipConflictResolution, reference: &StoreMembershipConflictResolutionRef, ) -> Result<Vec<ClosedRemoteObject>, PreparedCommitError>
pub fn merge_owner_promotion_remote_objects( &self, transition: &PreparedMembershipTransition, publication: &PreparedMembershipPublication, wrapped_key: &PreparedWrappedStoreKey, ) -> Result<Vec<ClosedRemoteObject>, PreparedCommitError>
pub fn validate_closed_shape(&self) -> Result<(), PreparedCommitError>
Sourcepub fn prepared_head(&self) -> Result<PreparedExactObject, PreparedCommitError>
pub fn prepared_head(&self) -> Result<PreparedExactObject, PreparedCommitError>
The activation head prepared for upload: its canonical bytes, re-derived from the value, under the exact object the operation names.
pub fn publication(&self) -> (&StoreDeviceHead, &ExactObjectRef)
pub fn head_ref(&self) -> StoreDeviceHeadRef
pub fn acknowledgement_remote_objects( &self, acknowledgement: &ExactProtocolObject<StoreAck>, ) -> Result<Vec<ClosedRemoteObject>, PreparedCommitError>
pub fn circle_acknowledgement_remote_objects( &self, acknowledgement: &ExactProtocolObject<CircleAck>, ) -> Result<Vec<ClosedRemoteObject>, PreparedCommitError>
pub fn adopt_merge_head( &mut self, winner: StoreDeviceHead, object: ExactObjectRef, ) -> Result<(), PreparedCommitError>
pub fn attach_merge_membership_proof_with( &mut self, publication: &PreparedMembershipPublication, resolution_value: Option<&StoreMembershipConflictResolution>, ) -> Result<(), PreparedCommitError>
Methods from Deref<Target = PreparedStoreOperationCommon>§
Sourcepub fn prepared_commit(
&self,
) -> Result<PreparedExactObject, PreparedCommitError>
pub fn prepared_commit( &self, ) -> Result<PreparedExactObject, PreparedCommitError>
The commit prepared for upload: its canonical bytes, re-derived from the value, under the exact reference the operation names.
Trait Implementations§
Source§impl Clone for PreparedStoreOperationCommit
impl Clone for PreparedStoreOperationCommit
Source§fn clone(&self) -> PreparedStoreOperationCommit
fn clone(&self) -> PreparedStoreOperationCommit
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 PreparedStoreOperationCommit
impl Debug for PreparedStoreOperationCommit
Source§impl Deref for PreparedStoreOperationCommit
impl Deref for PreparedStoreOperationCommit
Source§impl<'de> Deserialize<'de> for PreparedStoreOperationCommit
impl<'de> Deserialize<'de> for PreparedStoreOperationCommit
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
Source§impl PartialEq for PreparedStoreOperationCommit
impl PartialEq for PreparedStoreOperationCommit
Source§fn eq(&self, other: &PreparedStoreOperationCommit) -> bool
fn eq(&self, other: &PreparedStoreOperationCommit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PreparedStoreOperationCommit
impl StructuralPartialEq for PreparedStoreOperationCommit
Auto Trait Implementations§
impl !Freeze for PreparedStoreOperationCommit
impl RefUnwindSafe for PreparedStoreOperationCommit
impl Send for PreparedStoreOperationCommit
impl Sync for PreparedStoreOperationCommit
impl Unpin for PreparedStoreOperationCommit
impl UnsafeUnpin for PreparedStoreOperationCommit
impl UnwindSafe for PreparedStoreOperationCommit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.