pub enum ImageProgramNativeOutputRoleV1 {
Primary,
CheckpointState,
Observation {
observation: u16,
},
}Expand description
Mechanical role of one value produced by a native stage.
Variants§
Primary
Primary image or tensor result.
CheckpointState
Post-Euler checkpoint state captured at the declared boundary.
Observation
Tensor snapshot for one zero-based observation request.
Trait Implementations§
impl Copy for ImageProgramNativeOutputRoleV1
Source§impl<'de> Deserialize<'de> for ImageProgramNativeOutputRoleV1
impl<'de> Deserialize<'de> for ImageProgramNativeOutputRoleV1
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 ImageProgramNativeOutputRoleV1
impl StructuralPartialEq for ImageProgramNativeOutputRoleV1
Auto Trait Implementations§
impl Freeze for ImageProgramNativeOutputRoleV1
impl RefUnwindSafe for ImageProgramNativeOutputRoleV1
impl Send for ImageProgramNativeOutputRoleV1
impl Sync for ImageProgramNativeOutputRoleV1
impl Unpin for ImageProgramNativeOutputRoleV1
impl UnsafeUnpin for ImageProgramNativeOutputRoleV1
impl UnwindSafe for ImageProgramNativeOutputRoleV1
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