pub struct ImageProgramPlanV1 {
pub values: Vec<ImageProgramValueV1>,
pub inputs: Vec<ImageProgramInputV1>,
pub stages: Vec<ImageProgramStageV1>,
pub outputs: Vec<ImageProgramOutputRouteV1>,
pub cleanup: ImageCleanupPolicy,
}Expand description
Complete bounded resident image program.
Fields§
§values: Vec<ImageProgramValueV1>Canonically numbered logical values.
inputs: Vec<ImageProgramInputV1>External value producers.
stages: Vec<ImageProgramStageV1>Ordered native and deterministic stages.
outputs: Vec<ImageProgramOutputRouteV1>Ordered caller-owned output routes.
cleanup: ImageCleanupPolicyRequest-scope resident-session cleanup policy.
Implementations§
Source§impl ImageProgramPlanV1
impl ImageProgramPlanV1
Sourcepub fn validate(&self) -> Result<(), CoreError>
pub fn validate(&self) -> Result<(), CoreError>
Validates the complete typed graph and its conservative arena bound.
§Errors
Returns the first collection, type, producer, ordering, routing, or liveness defect.
Trait Implementations§
Source§impl Clone for ImageProgramPlanV1
impl Clone for ImageProgramPlanV1
Source§impl Debug for ImageProgramPlanV1
impl Debug for ImageProgramPlanV1
Source§impl<'de> Deserialize<'de> for ImageProgramPlanV1
impl<'de> Deserialize<'de> for ImageProgramPlanV1
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
Source§impl PartialEq for ImageProgramPlanV1
impl PartialEq for ImageProgramPlanV1
Source§impl Serialize for ImageProgramPlanV1
impl Serialize for ImageProgramPlanV1
impl StructuralPartialEq for ImageProgramPlanV1
Auto Trait Implementations§
impl Freeze for ImageProgramPlanV1
impl RefUnwindSafe for ImageProgramPlanV1
impl Send for ImageProgramPlanV1
impl Sync for ImageProgramPlanV1
impl Unpin for ImageProgramPlanV1
impl UnsafeUnpin for ImageProgramPlanV1
impl UnwindSafe for ImageProgramPlanV1
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