pub struct PortableRefitExecutionBundleV3 {
pub schema_version: u32,
pub bundle_id: BundleId,
pub effective_plan_fingerprint: String,
pub selected_variant_id: VariantId,
pub refit_artifacts: Vec<RefitArtifactRecord>,
pub raw_artifact_payloads: BTreeMap<ArtifactId, Vec<u8>>,
pub bundle_fingerprint: String,
}Expand description
Refit-only child execution bundle for Package V3.
Unlike ExecutionBundle, this contract cannot carry a prior selection,
CV score, OOF cache, calibration state, or process-local handle. Its only
durable payloads are the artifacts produced by the newly requested REFIT.
Fields§
§schema_version: u32§bundle_id: BundleId§effective_plan_fingerprint: String§selected_variant_id: VariantId§refit_artifacts: Vec<RefitArtifactRecord>§raw_artifact_payloads: BTreeMap<ArtifactId, Vec<u8>>§bundle_fingerprint: StringImplementations§
Source§impl PortableRefitExecutionBundleV3
impl PortableRefitExecutionBundleV3
pub fn compute_fingerprint(&self) -> Result<String, DagMlError>
pub fn validate( &self, recipe: &PortableRefitRecipe, effective_plan: &ExecutionPlan, ) -> Result<(), DagMlError>
Sourcepub fn to_runtime_replay_bundle(
&self,
recipe: &PortableRefitRecipe,
effective_plan: &ExecutionPlan,
) -> Result<ExecutionBundle, DagMlError>
pub fn to_runtime_replay_bundle( &self, recipe: &PortableRefitRecipe, effective_plan: &ExecutionPlan, ) -> Result<ExecutionBundle, DagMlError>
Recreate the scheduler’s internal bundle shape for a V3 PREDICT or
EXPLAIN invocation. This projection is deliberately process-local:
it is derived anew from the V3 child and is never persisted as a V2
ExecutionBundle or exposed through a V1/V2 package reader.
Trait Implementations§
Source§impl Clone for PortableRefitExecutionBundleV3
impl Clone for PortableRefitExecutionBundleV3
Source§fn clone(&self) -> PortableRefitExecutionBundleV3
fn clone(&self) -> PortableRefitExecutionBundleV3
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<'de> Deserialize<'de> for PortableRefitExecutionBundleV3
impl<'de> Deserialize<'de> for PortableRefitExecutionBundleV3
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PortableRefitExecutionBundleV3, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PortableRefitExecutionBundleV3, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PortableRefitExecutionBundleV3
impl Serialize for PortableRefitExecutionBundleV3
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PortableRefitExecutionBundleV3
Auto Trait Implementations§
impl Freeze for PortableRefitExecutionBundleV3
impl RefUnwindSafe for PortableRefitExecutionBundleV3
impl Send for PortableRefitExecutionBundleV3
impl Sync for PortableRefitExecutionBundleV3
impl Unpin for PortableRefitExecutionBundleV3
impl UnsafeUnpin for PortableRefitExecutionBundleV3
impl UnwindSafe for PortableRefitExecutionBundleV3
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