pub struct CommittedBindingTerminalRestore {
pub binding: ActiveBinding,
pub cause: CloseCause,
pub transaction_order: TransactionOrder,
pub delivery_seq: DeliverySeq,
}Expand description
Raw durable fields for one committed binding terminal.
Fields§
§binding: ActiveBindingBinding authority that ended.
cause: CloseCauseCause stored with the terminal.
transaction_order: TransactionOrderImmutable admission major.
delivery_seq: DeliverySeqDurable lifecycle delivery sequence.
Implementations§
Source§impl CommittedBindingTerminalRestore
impl CommittedBindingTerminalRestore
Sourcepub fn restore(self) -> Result<CommittedBindingTerminal, StorageRestoreError>
pub fn restore(self) -> Result<CommittedBindingTerminal, StorageRestoreError>
Validates and rebuilds the cause-partitioned committed terminal.
§Errors
Returns StorageRestoreError::CommittedBindingTerminal for an
impossible cause/suffix combination.
Trait Implementations§
Source§impl Clone for CommittedBindingTerminalRestore
impl Clone for CommittedBindingTerminalRestore
Source§fn clone(&self) -> CommittedBindingTerminalRestore
fn clone(&self) -> CommittedBindingTerminalRestore
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 CommittedBindingTerminalRestore
impl Eq for CommittedBindingTerminalRestore
impl StructuralPartialEq for CommittedBindingTerminalRestore
Auto Trait Implementations§
impl Freeze for CommittedBindingTerminalRestore
impl RefUnwindSafe for CommittedBindingTerminalRestore
impl Send for CommittedBindingTerminalRestore
impl Sync for CommittedBindingTerminalRestore
impl Unpin for CommittedBindingTerminalRestore
impl UnsafeUnpin for CommittedBindingTerminalRestore
impl UnwindSafe for CommittedBindingTerminalRestore
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