pub struct ClientOperationCommit { /* private fields */ }Expand description
Committed operation decision that still seals aggregate and execution authority.
This implements the authorized round-3 mandate’s governing order:
commit-seal, persist the committed LPCR exposed by this value, then call
Self::into_parts to release authority.
Implementations§
Source§impl ClientOperationCommit
impl ClientOperationCommit
Sourcepub fn into_parts(
self,
) -> (ClientParticipantAggregate, ExpectedParticipantOperation)
pub fn into_parts( self, ) -> (ClientParticipantAggregate, ExpectedParticipantOperation)
Releases the committed aggregate and one-use expected operation.
Source§impl ClientOperationCommit
impl ClientOperationCommit
Sourcepub fn resume_record(
&self,
) -> Result<ClientResumeRecord, ClientResumeRecordEncodeError>
pub fn resume_record( &self, ) -> Result<ClientResumeRecord, ClientResumeRecordEncodeError>
Captures the committed successor as a publicly cold-restorable record.
The caller persists these LPCR bytes before releasing the aggregate and
operation with Self::into_parts. No pending record or speculative
promotion format exists.
§Errors
Returns a typed nested-codec or length error before authority release.
Trait Implementations§
Source§impl Debug for ClientOperationCommit
impl Debug for ClientOperationCommit
impl Eq for ClientOperationCommit
Source§impl PartialEq for ClientOperationCommit
impl PartialEq for ClientOperationCommit
impl StructuralPartialEq for ClientOperationCommit
Auto Trait Implementations§
impl Freeze for ClientOperationCommit
impl RefUnwindSafe for ClientOperationCommit
impl Send for ClientOperationCommit
impl Sync for ClientOperationCommit
impl Unpin for ClientOperationCommit
impl UnsafeUnpin for ClientOperationCommit
impl UnwindSafe for ClientOperationCommit
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