pub struct ImageProgramMeasurementsV1 {
pub plan: Digest,
pub backend: Digest,
pub runtime_epoch: u64,
pub stage_wall_time_ns: Vec<u64>,
pub stage_native_time_ns: Vec<Option<u64>>,
pub peak_arena_bytes: u64,
pub values: Vec<ImageProgramValueMeasurementV1>,
}Expand description
Deployment measurements excluded from deterministic plan and receipt identities.
Fields§
§plan: DigestExact program-plan identity.
backend: DigestExact backend build/runtime identity.
runtime_epoch: u64Runtime epoch used by native handles.
stage_wall_time_ns: Vec<u64>Wall time for each completed stage, in nanoseconds.
stage_native_time_ns: Vec<Option<u64>>Native compute time for each completed stage, when available.
peak_arena_bytes: u64Observed peak native value-arena bytes.
values: Vec<ImageProgramValueMeasurementV1>Placement and transfer accounting for every value that existed.
Implementations§
Source§impl ImageProgramMeasurementsV1
impl ImageProgramMeasurementsV1
Sourcepub fn validate_for(
&self,
plan: &ImageProgramPlanV1,
receipt: &ImageProgramReceiptV1,
) -> Result<(), CoreError>
pub fn validate_for( &self, plan: &ImageProgramPlanV1, receipt: &ImageProgramReceiptV1, ) -> Result<(), CoreError>
Validates measurements against one exact receipt without incorporating them into deterministic identity.
§Errors
Returns the first lineage, count, placement, or byte-bound defect.
Trait Implementations§
Source§impl Clone for ImageProgramMeasurementsV1
impl Clone for ImageProgramMeasurementsV1
Source§impl Debug for ImageProgramMeasurementsV1
impl Debug for ImageProgramMeasurementsV1
Source§impl<'de> Deserialize<'de> for ImageProgramMeasurementsV1
impl<'de> Deserialize<'de> for ImageProgramMeasurementsV1
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 ImageProgramMeasurementsV1
impl StructuralPartialEq for ImageProgramMeasurementsV1
Auto Trait Implementations§
impl Freeze for ImageProgramMeasurementsV1
impl RefUnwindSafe for ImageProgramMeasurementsV1
impl Send for ImageProgramMeasurementsV1
impl Sync for ImageProgramMeasurementsV1
impl Unpin for ImageProgramMeasurementsV1
impl UnsafeUnpin for ImageProgramMeasurementsV1
impl UnwindSafe for ImageProgramMeasurementsV1
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