pub struct SubmissionWaveDeterminismRestoreLayout { /* private fields */ }Expand description
Provider-visible deterministic I/O layout for one exact prepared wave.
The immutable plan defines which semantic values are required. This layout closes the remaining runtime boundary: packed versus participant-local token offsets and the exact page-quantized state prefix visible to each provider invocation.
Implementations§
Source§impl SubmissionWaveDeterminismRestoreLayout
impl SubmissionWaveDeterminismRestoreLayout
pub fn from_prepared_wave<'binding, R, I>(
runtime: &R,
providers: &[BoundOperationProvider<'_, R>],
resolved: &dyn ExecutablePlanView,
batch_identity: &BatchOperationIdentity,
active_bindings: I,
wave: &PreparedStepSubmissionWave<R>,
) -> Result<Self, VNextError>where
R: DeviceRuntime,
I: Clone + ExactSizeIterator<Item = &'binding TrustedActiveSequenceBinding>,
pub fn from_prepared_wave_with_participant_order<'binding, R, I>(
runtime: &R,
providers: &[BoundOperationProvider<'_, R>],
resolved: &dyn ExecutablePlanView,
batch_identity: &BatchOperationIdentity,
active_bindings: I,
participant_order: SubmissionWaveDeterminismParticipantOrder,
wave: &PreparedStepSubmissionWave<R>,
) -> Result<Self, VNextError>where
R: DeviceRuntime,
I: Clone + ExactSizeIterator<Item = &'binding TrustedActiveSequenceBinding>,
pub fn witness_plan(&self) -> &ExecutionDeterminismWitnessPlan
pub fn participant_order(&self) -> &SubmissionWaveDeterminismParticipantOrder
pub fn participant_count(&self) -> u32
pub fn participant_initialization_ranges( &self, participant_index: u32, ) -> Option<&[SubmissionWaveDeterminismLogicalRange]>
pub fn witness_participant_ranges( &self, witness_index: usize, ) -> Option<&[SubmissionWaveDeterminismLogicalRange]>
pub fn bind( self, participant_payloads: Vec<Vec<Vec<u8>>>, ) -> Result<SubmissionWaveDeterminismRestore, VNextError>
Trait Implementations§
Source§impl Clone for SubmissionWaveDeterminismRestoreLayout
impl Clone for SubmissionWaveDeterminismRestoreLayout
Source§fn clone(&self) -> SubmissionWaveDeterminismRestoreLayout
fn clone(&self) -> SubmissionWaveDeterminismRestoreLayout
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 SubmissionWaveDeterminismRestoreLayout
impl StructuralPartialEq for SubmissionWaveDeterminismRestoreLayout
Auto Trait Implementations§
impl Freeze for SubmissionWaveDeterminismRestoreLayout
impl RefUnwindSafe for SubmissionWaveDeterminismRestoreLayout
impl Send for SubmissionWaveDeterminismRestoreLayout
impl Sync for SubmissionWaveDeterminismRestoreLayout
impl Unpin for SubmissionWaveDeterminismRestoreLayout
impl UnsafeUnpin for SubmissionWaveDeterminismRestoreLayout
impl UnwindSafe for SubmissionWaveDeterminismRestoreLayout
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