pub struct FencedAttachCommitRestore {
pub predecessor: DetachedCredentialRecoveryRestore,
pub predecessor_debt: WideResourceVector,
pub participant_id: ParticipantId,
pub marker_delivery_seq: DeliverySeq,
pub prior_binding_epoch: BindingEpoch,
pub new_binding_epoch: BindingEpoch,
pub resulting_floor: DeliverySeq,
pub successor: DebtCompletionRestore,
}Expand description
Complete predecessor and event fields for a committed fenced attach.
Raw fields remain serializable, but their executable restoration entry point is crate-private. Public callers cannot combine them with an occurrence token obtained from another transition.
ⓘ
use liminal_protocol::lifecycle::FencedAttachCommitRestore;
fn bypass() {
let _ = FencedAttachCommitRestore::restore;
}Fields§
§predecessor: DetachedCredentialRecoveryRestoreExact DCR predecessor.
predecessor_debt: WideResourceVectorRaw nonzero debt carried by the DCR predecessor.
participant_id: ParticipantIdEvent participant; must equal the DCR owner.
marker_delivery_seq: DeliverySeqEvent marker; must equal the DCR recovery marker.
prior_binding_epoch: BindingEpochEvent prior epoch; must equal the DCR prior epoch.
new_binding_epoch: BindingEpochNewly committed immediately-next binding epoch.
resulting_floor: DeliverySeqFloor measured by the fenced-attach transaction.
successor: DebtCompletionRestoreRestricted post-attach closure state.
Trait Implementations§
Source§impl Clone for FencedAttachCommitRestore
impl Clone for FencedAttachCommitRestore
Source§fn clone(&self) -> FencedAttachCommitRestore
fn clone(&self) -> FencedAttachCommitRestore
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 Copy for FencedAttachCommitRestore
Source§impl Debug for FencedAttachCommitRestore
impl Debug for FencedAttachCommitRestore
impl Eq for FencedAttachCommitRestore
impl StructuralPartialEq for FencedAttachCommitRestore
Auto Trait Implementations§
impl Freeze for FencedAttachCommitRestore
impl RefUnwindSafe for FencedAttachCommitRestore
impl Send for FencedAttachCommitRestore
impl Sync for FencedAttachCommitRestore
impl Unpin for FencedAttachCommitRestore
impl UnsafeUnpin for FencedAttachCommitRestore
impl UnwindSafe for FencedAttachCommitRestore
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