pub struct RetainedCompletionValue { /* private fields */ }Expand description
Immutable plan evidence for one semantic activation retained until the terminal completion fence. Callers never reconstruct this binding from raw node and resource strings.
Implementations§
Source§impl RetainedCompletionValue
impl RetainedCompletionValue
pub fn value_id(&self) -> &ProgramValueId
pub fn producer_node_id(&self) -> &NodeId
pub const fn output_ordinal(&self) -> u32
pub fn resource_id(&self) -> &ResourceId
pub const fn logical_offset_bytes(&self) -> u64
pub fn tensor(&self) -> &ResolvedTensorSpec
pub fn readback_request( &self, participant_index: u32, output_layout: HostTransferLayout, ) -> Result<CompletionReadbackRequest, VNextError>
Trait Implementations§
Source§impl Clone for RetainedCompletionValue
impl Clone for RetainedCompletionValue
Source§fn clone(&self) -> RetainedCompletionValue
fn clone(&self) -> RetainedCompletionValue
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 RetainedCompletionValue
impl Debug for RetainedCompletionValue
Source§impl<'de> Deserialize<'de> for RetainedCompletionValue
impl<'de> Deserialize<'de> for RetainedCompletionValue
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RetainedCompletionValue
Source§impl PartialEq for RetainedCompletionValue
impl PartialEq for RetainedCompletionValue
Source§impl Serialize for RetainedCompletionValue
impl Serialize for RetainedCompletionValue
impl StructuralPartialEq for RetainedCompletionValue
Auto Trait Implementations§
impl Freeze for RetainedCompletionValue
impl RefUnwindSafe for RetainedCompletionValue
impl Send for RetainedCompletionValue
impl Sync for RetainedCompletionValue
impl Unpin for RetainedCompletionValue
impl UnsafeUnpin for RetainedCompletionValue
impl UnwindSafe for RetainedCompletionValue
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