pub enum TerminalProductSource {
Binding(BindingTerminalOwner),
RecoveryReplacement {
participant_index: ParticipantId,
binding_epoch: BindingEpoch,
},
}Expand description
Terminal source retained by immutable marker provenance.
Variants§
Binding(BindingTerminalOwner)
Ordinary active-binding terminal claim.
RecoveryReplacement
Edge-owned replacement terminal for a recovered binding.
Fields
§
participant_index: ParticipantIdPermanent participant index.
§
binding_epoch: BindingEpochExact prospective replacement epoch.
Implementations§
Source§impl TerminalProductSource
impl TerminalProductSource
Sourcepub const fn recovery_replacement(
participant_index: ParticipantId,
binding_epoch: BindingEpoch,
) -> Self
pub const fn recovery_replacement( participant_index: ParticipantId, binding_epoch: BindingEpoch, ) -> Self
Names the prospective replacement terminal produced by recovery.
Trait Implementations§
Source§impl Clone for TerminalProductSource
impl Clone for TerminalProductSource
Source§fn clone(&self) -> TerminalProductSource
fn clone(&self) -> TerminalProductSource
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 TerminalProductSource
Source§impl Debug for TerminalProductSource
impl Debug for TerminalProductSource
impl Eq for TerminalProductSource
Source§impl PartialEq for TerminalProductSource
impl PartialEq for TerminalProductSource
impl StructuralPartialEq for TerminalProductSource
Auto Trait Implementations§
impl Freeze for TerminalProductSource
impl RefUnwindSafe for TerminalProductSource
impl Send for TerminalProductSource
impl Sync for TerminalProductSource
impl Unpin for TerminalProductSource
impl UnsafeUnpin for TerminalProductSource
impl UnwindSafe for TerminalProductSource
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