pub enum DetachCellRestore<V> {
Empty,
Pending {
token: DetachAttemptToken,
participant_id: ParticipantId,
request_generation: Generation,
request_verifier: V,
committed_binding_epoch: BindingEpoch,
admission_order: AdmissionOrder,
refused_epoch: ObserverEpoch,
},
Committed {
token: DetachAttemptToken,
participant_id: ParticipantId,
request_generation: Generation,
request_verifier: V,
committed_binding_epoch: BindingEpoch,
detached_delivery_seq: DeliverySeq,
},
Terminalized {
token: DetachAttemptToken,
participant_id: ParticipantId,
request_generation: Generation,
request_verifier: V,
committed_binding_epoch: BindingEpoch,
},
}Expand description
Exact four-state durable detach replay cell.
Variants§
Empty
No detach replay state.
Pending
Accepted detach whose terminal append remains pending.
Fields
§
token: DetachAttemptTokenStable attempt token.
§
participant_id: ParticipantIdCell owner.
§
request_generation: GenerationRequest generation.
§
request_verifier: VNon-reversible exact-request verifier.
§
committed_binding_epoch: BindingEpochBinding epoch ended by detach.
§
admission_order: AdmissionOrderImmutable binding-terminal admission position.
§
refused_epoch: ObserverEpochObserver refusal epoch.
Committed
Committed detach retaining its exact terminal sequence.
Fields
§
token: DetachAttemptTokenStable attempt token.
§
participant_id: ParticipantIdCell owner.
§
request_generation: GenerationRequest generation.
§
request_verifier: VNon-reversible exact-request verifier.
§
committed_binding_epoch: BindingEpochBinding epoch ended by detach.
§
detached_delivery_seq: DeliverySeqCommitted Detached delivery sequence.
Terminalized
Post-attach replay state retaining the old binding epoch.
Fields
§
token: DetachAttemptTokenStable old detach token.
§
participant_id: ParticipantIdCell owner.
§
request_generation: GenerationOld request generation.
§
request_verifier: VNon-reversible exact-request verifier.
§
committed_binding_epoch: BindingEpochOld binding epoch ended by detach.
Trait Implementations§
Source§impl<V: Clone> Clone for DetachCellRestore<V>
impl<V: Clone> Clone for DetachCellRestore<V>
Source§fn clone(&self) -> DetachCellRestore<V>
fn clone(&self) -> DetachCellRestore<V>
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<V: Debug> Debug for DetachCellRestore<V>
impl<V: Debug> Debug for DetachCellRestore<V>
impl<V: Eq> Eq for DetachCellRestore<V>
Source§impl<V: PartialEq> PartialEq for DetachCellRestore<V>
impl<V: PartialEq> PartialEq for DetachCellRestore<V>
impl<V: PartialEq> StructuralPartialEq for DetachCellRestore<V>
Auto Trait Implementations§
impl<V> Freeze for DetachCellRestore<V>where
V: Freeze,
impl<V> RefUnwindSafe for DetachCellRestore<V>where
V: RefUnwindSafe,
impl<V> Send for DetachCellRestore<V>where
V: Send,
impl<V> Sync for DetachCellRestore<V>where
V: Sync,
impl<V> Unpin for DetachCellRestore<V>where
V: Unpin,
impl<V> UnsafeUnpin for DetachCellRestore<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for DetachCellRestore<V>where
V: UnwindSafe,
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