pub struct CompletionRetentionSpec { /* private fields */ }Expand description
Explicit semantic activations that must remain readable at the terminal completion fence. The empty default preserves the normal execution plan.
Implementations§
Source§impl CompletionRetentionSpec
impl CompletionRetentionSpec
pub fn new(values: BTreeSet<ProgramValueId>) -> Self
Sourcepub fn for_determinism_outputs(
family: &PreparedModelFamily,
) -> Result<Self, VNextError>
pub fn for_determinism_outputs( family: &PreparedModelFamily, ) -> Result<Self, VNextError>
Retains every semantic operation output for a terminal determinism readback. Duplicate output identities are rejected because they cannot be attributed to exactly one producer.
pub fn insert(&mut self, value_id: ProgramValueId) -> bool
pub fn values(&self) -> &BTreeSet<ProgramValueId>
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for CompletionRetentionSpec
impl Clone for CompletionRetentionSpec
Source§fn clone(&self) -> CompletionRetentionSpec
fn clone(&self) -> CompletionRetentionSpec
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 moreSource§impl Debug for CompletionRetentionSpec
impl Debug for CompletionRetentionSpec
Source§impl Default for CompletionRetentionSpec
impl Default for CompletionRetentionSpec
Source§fn default() -> CompletionRetentionSpec
fn default() -> CompletionRetentionSpec
Returns the “default value” for a type. Read more
impl Eq for CompletionRetentionSpec
Source§impl PartialEq for CompletionRetentionSpec
impl PartialEq for CompletionRetentionSpec
impl StructuralPartialEq for CompletionRetentionSpec
Auto Trait Implementations§
impl Freeze for CompletionRetentionSpec
impl RefUnwindSafe for CompletionRetentionSpec
impl Send for CompletionRetentionSpec
impl Sync for CompletionRetentionSpec
impl Unpin for CompletionRetentionSpec
impl UnsafeUnpin for CompletionRetentionSpec
impl UnwindSafe for CompletionRetentionSpec
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