pub struct BatchedOperationInvocation<'a, B> { /* private fields */ }Expand description
Borrowed provider view for exactly one physical command. Participant-local resources remain separate projections while invocation/step/plan resources may be shared by every projection.
Implementations§
Source§impl<'a, B> BatchedOperationInvocation<'a, B>
impl<'a, B> BatchedOperationInvocation<'a, B>
pub fn batch_identity(&self) -> &BatchOperationIdentity
pub fn participants(&self) -> &[OperationInvocation<'a, B>]
pub fn operation(&self) -> &OperationDescriptor
pub fn node_id(&self) -> &NodeId
pub fn provider_id(&self) -> &ProviderId
pub fn work_shape(&self) -> &BatchWorkShape
pub fn work_contract(&self) -> &NodeWorkContract
pub fn program_binding(&self) -> Option<&ProgramBindingNodeBinding>
Sourcepub fn attach_binding_command<C>(
&self,
operation: EncodedDeviceOperation<C>,
command: C,
) -> EncodedDeviceOperation<C>
pub fn attach_binding_command<C>( &self, operation: EncodedDeviceOperation<C>, command: C, ) -> EncodedDeviceOperation<C>
Attaches the command that refreshes this provider’s invocation-scoped binding workspace. A compiled slot moves the command into the non-aliasing wave prelude; without that authority it remains adjacent to the eager compute command.
pub fn participant_token_ranges(&self) -> &[BatchParticipantTokenRange]
Sourcepub fn binding_uses_packed_batch_coordinates(
&self,
role: ResolvedValueRole,
ordinal: u32,
) -> Result<bool, VNextError>
pub fn binding_uses_packed_batch_coordinates( &self, role: ResolvedValueRole, ordinal: u32, ) -> Result<bool, VNextError>
Returns whether one exact resolved binding uses the packed token coordinate space of this physical batch. This is deliberately distinct from physical sharing: Request backing can be shared by child sequences while still using source-token coordinates.
Auto Trait Implementations§
impl<'a, B> !RefUnwindSafe for BatchedOperationInvocation<'a, B>
impl<'a, B> !UnwindSafe for BatchedOperationInvocation<'a, B>
impl<'a, B> Freeze for BatchedOperationInvocation<'a, B>
impl<'a, B> Send for BatchedOperationInvocation<'a, B>
impl<'a, B> Sync for BatchedOperationInvocation<'a, B>
impl<'a, B> Unpin for BatchedOperationInvocation<'a, B>
impl<'a, B> UnsafeUnpin for BatchedOperationInvocation<'a, B>
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