pub struct LeaveCommittedRestore {
pub conversation_id: ConversationId,
pub leave_attempt_token: LeaveAttemptToken,
pub participant_id: ParticipantId,
pub retired_generation: Generation,
pub ended_binding_epoch: Option<BindingEpoch>,
pub prior_terminal_delivery_seq: Option<DeliverySeq>,
pub left_delivery_seq: DeliverySeq,
}Expand description
Raw fields of the canonical permanent LeaveCommitted result.
Fields§
§conversation_id: ConversationIdConversation containing the participant.
leave_attempt_token: LeaveAttemptTokenCommitting Leave token.
participant_id: ParticipantIdRetired participant.
retired_generation: GenerationPermanent retired generation.
ended_binding_epoch: Option<BindingEpoch>Active binding ended in the Leave transaction, if any.
prior_terminal_delivery_seq: Option<DeliverySeq>Earlier binding-terminal delivery sequence, if any.
left_delivery_seq: DeliverySeqDurable Left delivery sequence.
Implementations§
Source§impl LeaveCommittedRestore
impl LeaveCommittedRestore
Sourcepub fn restore(self) -> Result<LeaveCommitted, StorageRestoreError>
pub fn restore(self) -> Result<LeaveCommitted, StorageRestoreError>
Rebuilds the canonical terminal Leave result.
§Errors
Returns StorageRestoreError::LeaveResult for an epoch-generation
mismatch or a terminal sequence not strictly before Left.
Trait Implementations§
Source§impl Clone for LeaveCommittedRestore
impl Clone for LeaveCommittedRestore
Source§fn clone(&self) -> LeaveCommittedRestore
fn clone(&self) -> LeaveCommittedRestore
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 LeaveCommittedRestore
Source§impl Debug for LeaveCommittedRestore
impl Debug for LeaveCommittedRestore
impl Eq for LeaveCommittedRestore
Source§impl PartialEq for LeaveCommittedRestore
impl PartialEq for LeaveCommittedRestore
impl StructuralPartialEq for LeaveCommittedRestore
Auto Trait Implementations§
impl Freeze for LeaveCommittedRestore
impl RefUnwindSafe for LeaveCommittedRestore
impl Send for LeaveCommittedRestore
impl Sync for LeaveCommittedRestore
impl Unpin for LeaveCommittedRestore
impl UnsafeUnpin for LeaveCommittedRestore
impl UnwindSafe for LeaveCommittedRestore
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