pub struct ProgramPlanCompilation { /* private fields */ }Expand description
Immutable executable plus the trusted node resolutions used to build it. Keeping the resolutions allows a product-level plan wrapper to validate the exact same physical decisions without reconstructing provider evidence.
Implementations§
Source§impl ProgramPlanCompilation
impl ProgramPlanCompilation
pub fn executable(&self) -> &ExecutablePlan
pub fn node_resolutions(&self) -> &[PlanNodeResolution]
pub fn value_tensors(&self) -> &BTreeMap<ProgramValueId, ResolvedTensorSpec>
pub fn completion_retention(&self) -> &CompletionRetentionSpec
pub fn into_parts( self, ) -> (ExecutablePlan, Vec<PlanNodeResolution>, BTreeMap<ProgramValueId, ResolvedTensorSpec>, CompletionRetentionSpec)
Trait Implementations§
Source§impl Clone for ProgramPlanCompilation
impl Clone for ProgramPlanCompilation
Source§fn clone(&self) -> ProgramPlanCompilation
fn clone(&self) -> ProgramPlanCompilation
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 ProgramPlanCompilation
impl Debug for ProgramPlanCompilation
impl Eq for ProgramPlanCompilation
Source§impl PartialEq for ProgramPlanCompilation
impl PartialEq for ProgramPlanCompilation
impl StructuralPartialEq for ProgramPlanCompilation
Auto Trait Implementations§
impl !RefUnwindSafe for ProgramPlanCompilation
impl !UnwindSafe for ProgramPlanCompilation
impl Freeze for ProgramPlanCompilation
impl Send for ProgramPlanCompilation
impl Sync for ProgramPlanCompilation
impl Unpin for ProgramPlanCompilation
impl UnsafeUnpin for ProgramPlanCompilation
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