pub struct GatedDeltaExecutionCapabilities { /* private fields */ }Expand description
Physical gated-delta implementation available to one provider for an already-compatible operation shape. This capability is deliberately not a model attribute: the same immutable model plan can select a different form as the request work shape changes.
Implementations§
Source§impl GatedDeltaExecutionCapabilities
impl GatedDeltaExecutionCapabilities
pub const fn recurrent_only() -> Self
pub fn with_chunked_scan(chunk_size: u32) -> Result<Self, VNextError>
pub const fn chunked_scan(self) -> Option<GatedDeltaChunkedScanCapability>
Sourcepub fn select(
self,
token_count: u64,
preference: GatedDeltaExecutionPreference,
) -> Result<GatedDeltaExecutionForm, VNextError>
pub fn select( self, token_count: u64, preference: GatedDeltaExecutionPreference, ) -> Result<GatedDeltaExecutionForm, VNextError>
Selects a physical form for one participant. Providers must first remove capabilities that do not support the resolved dtype or shape.
Trait Implementations§
Source§impl Clone for GatedDeltaExecutionCapabilities
impl Clone for GatedDeltaExecutionCapabilities
Source§fn clone(&self) -> GatedDeltaExecutionCapabilities
fn clone(&self) -> GatedDeltaExecutionCapabilities
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 GatedDeltaExecutionCapabilities
impl Eq for GatedDeltaExecutionCapabilities
impl StructuralPartialEq for GatedDeltaExecutionCapabilities
Auto Trait Implementations§
impl Freeze for GatedDeltaExecutionCapabilities
impl RefUnwindSafe for GatedDeltaExecutionCapabilities
impl Send for GatedDeltaExecutionCapabilities
impl Sync for GatedDeltaExecutionCapabilities
impl Unpin for GatedDeltaExecutionCapabilities
impl UnsafeUnpin for GatedDeltaExecutionCapabilities
impl UnwindSafe for GatedDeltaExecutionCapabilities
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