pub enum MarkerProvenance {
NonProductM,
TerminalProduct {
terminal: TerminalProductSource,
affected_participant: ParticipantId,
},
ExitProduct {
exit_participant: ParticipantId,
remaining_participant: ParticipantId,
},
}Expand description
Immutable origin of one planned or appended marker value.
Variants§
NonProductM
Marker was planned directly by an optional floor transition.
TerminalProduct
Marker was conditionally reserved by a terminal product.
Fields
§
terminal: TerminalProductSourceExact causal terminal source.
§
affected_participant: ParticipantIdPermanent affected participant index.
ExitProduct
Marker was conditionally reserved by a membership-exit product.
Fields
§
exit_participant: ParticipantIdExiting participant whose E claim caused the product.
§
remaining_participant: ParticipantIdRemaining participant the possible marker protects.
Implementations§
Source§impl MarkerProvenance
impl MarkerProvenance
Sourcepub const fn terminal_product(
terminal: TerminalProductSource,
affected_participant: ParticipantId,
) -> Self
pub const fn terminal_product( terminal: TerminalProductSource, affected_participant: ParticipantId, ) -> Self
Names one conditional terminal-product marker provenance.
Sourcepub const fn exit_product(
exit_participant: ParticipantId,
remaining_participant: ParticipantId,
) -> Self
pub const fn exit_product( exit_participant: ParticipantId, remaining_participant: ParticipantId, ) -> Self
Names one conditional membership-exit-product marker provenance.
Trait Implementations§
Source§impl Clone for MarkerProvenance
impl Clone for MarkerProvenance
Source§fn clone(&self) -> MarkerProvenance
fn clone(&self) -> MarkerProvenance
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 MarkerProvenance
Source§impl Debug for MarkerProvenance
impl Debug for MarkerProvenance
impl Eq for MarkerProvenance
Source§impl PartialEq for MarkerProvenance
impl PartialEq for MarkerProvenance
impl StructuralPartialEq for MarkerProvenance
Auto Trait Implementations§
impl Freeze for MarkerProvenance
impl RefUnwindSafe for MarkerProvenance
impl Send for MarkerProvenance
impl Sync for MarkerProvenance
impl Unpin for MarkerProvenance
impl UnsafeUnpin for MarkerProvenance
impl UnwindSafe for MarkerProvenance
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