pub struct ReusableExecutionProgramSpec { /* private fields */ }Expand description
One logical startup capture case bound to its covering workspace class.
A spec budgets one observed physical variant. If startup observes more than one physical identity for the same case, backend capacity fails closed; it is never interpreted as universal coverage of that logical shape. Multiple logical cases may independently observe the same physical identity when their complete device-level identity is equal; that is physical reuse, not inferred coverage from another case.
Implementations§
Source§impl ReusableExecutionProgramSpec
impl ReusableExecutionProgramSpec
pub fn new( class_id: ReusableExecutionClassId, shape: ReusableExecutionProgramShape, ) -> Result<Self, VNextError>
pub fn class_id(&self) -> &ReusableExecutionClassId
pub const fn shape(&self) -> ReusableExecutionProgramShape
Trait Implementations§
Source§impl Clone for ReusableExecutionProgramSpec
impl Clone for ReusableExecutionProgramSpec
Source§fn clone(&self) -> ReusableExecutionProgramSpec
fn clone(&self) -> ReusableExecutionProgramSpec
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 ReusableExecutionProgramSpec
impl Debug for ReusableExecutionProgramSpec
Source§impl<'de> Deserialize<'de> for ReusableExecutionProgramSpec
impl<'de> Deserialize<'de> for ReusableExecutionProgramSpec
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 ReusableExecutionProgramSpec
Source§impl Hash for ReusableExecutionProgramSpec
impl Hash for ReusableExecutionProgramSpec
Source§impl Ord for ReusableExecutionProgramSpec
impl Ord for ReusableExecutionProgramSpec
Source§fn cmp(&self, other: &ReusableExecutionProgramSpec) -> Ordering
fn cmp(&self, other: &ReusableExecutionProgramSpec) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ReusableExecutionProgramSpec
impl PartialOrd for ReusableExecutionProgramSpec
impl StructuralPartialEq for ReusableExecutionProgramSpec
Auto Trait Implementations§
impl Freeze for ReusableExecutionProgramSpec
impl RefUnwindSafe for ReusableExecutionProgramSpec
impl Send for ReusableExecutionProgramSpec
impl Sync for ReusableExecutionProgramSpec
impl Unpin for ReusableExecutionProgramSpec
impl UnsafeUnpin for ReusableExecutionProgramSpec
impl UnwindSafe for ReusableExecutionProgramSpec
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