pub struct SubmissionWaveDeterminismParticipantOrder { /* private fields */ }Expand description
Stable semantic participant authority for one physically canonical batch.
Runtime resource ownership and provider bindings remain indexed by physical batch position. Determinism comparisons use the logical position so fresh admissions may choose different sequence authorities without changing the semantic execution identity.
Implementations§
Source§impl SubmissionWaveDeterminismParticipantOrder
impl SubmissionWaveDeterminismParticipantOrder
Sourcepub fn from_logical_participant_sessions<R: DeviceRuntime>(
wave: &PreparedStepSubmissionWave<R>,
logical_sessions: &[Arc<SequenceSession<R>>],
) -> Result<Self, VNextError>
pub fn from_logical_participant_sessions<R: DeviceRuntime>( wave: &PreparedStepSubmissionWave<R>, logical_sessions: &[Arc<SequenceSession<R>>], ) -> Result<Self, VNextError>
Binds a caller-defined semantic order to the exact physical authorities carried by one prepared wave. The logical order cannot be expressed as a naked permutation: every position must name one authority in the wave.
pub fn participant_count(&self) -> u32
pub fn logical_index_for_physical(&self, physical_index: u32) -> Option<u32>
pub fn physical_index_for_logical(&self, logical_index: u32) -> Option<u32>
Trait Implementations§
Source§impl Clone for SubmissionWaveDeterminismParticipantOrder
impl Clone for SubmissionWaveDeterminismParticipantOrder
Source§fn clone(&self) -> SubmissionWaveDeterminismParticipantOrder
fn clone(&self) -> SubmissionWaveDeterminismParticipantOrder
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 Eq for SubmissionWaveDeterminismParticipantOrder
impl StructuralPartialEq for SubmissionWaveDeterminismParticipantOrder
Auto Trait Implementations§
impl Freeze for SubmissionWaveDeterminismParticipantOrder
impl RefUnwindSafe for SubmissionWaveDeterminismParticipantOrder
impl Send for SubmissionWaveDeterminismParticipantOrder
impl Sync for SubmissionWaveDeterminismParticipantOrder
impl Unpin for SubmissionWaveDeterminismParticipantOrder
impl UnsafeUnpin for SubmissionWaveDeterminismParticipantOrder
impl UnwindSafe for SubmissionWaveDeterminismParticipantOrder
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