#[non_exhaustive]pub enum RealtimeModelContractError {
SourceProvenanceMismatch {
target: String,
},
RecipeGeometryMismatch {
target: String,
},
RecipeEncodingMismatch {
target: String,
},
ComponentCoverageMismatch {
target: String,
},
TaskCoverageMismatch,
TaskSelectionMismatch {
target: String,
},
TaskOwnerUnavailable {
target: String,
},
TaskOwnerMismatch {
target: String,
},
BindingPlan {
detail: String,
},
}Expand description
Invalid selected recipe or task handoff.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SourceProvenanceMismatch
A component’s retained physical sources differ from its selected recipe traversal.
RecipeGeometryMismatch
A source-backed companion’s inferred geometry differs from selection.
RecipeEncodingMismatch
Primary recipe scalar encoding differs from its selected source descriptor.
ComponentCoverageMismatch
Concrete component payload does not exactly cover the lowering.
TaskCoverageMismatch
Task targets do not exactly cover selection.
TaskSelectionMismatch
A task contains a lowering that differs from selection.
A selected target has no declared execution parameter owner.
TaskOwnerMismatch
A task owner differs from the exact selected execution owner.
BindingPlan
Canonical task-to-binding derivation or metadata preflight failed.
Trait Implementations§
Source§impl Clone for RealtimeModelContractError
impl Clone for RealtimeModelContractError
Source§fn clone(&self) -> RealtimeModelContractError
fn clone(&self) -> RealtimeModelContractError
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 RealtimeModelContractError
impl Debug for RealtimeModelContractError
Source§impl Display for RealtimeModelContractError
impl Display for RealtimeModelContractError
impl Eq for RealtimeModelContractError
Source§impl Error for RealtimeModelContractError
impl Error for RealtimeModelContractError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for RealtimeModelContractError
Auto Trait Implementations§
impl Freeze for RealtimeModelContractError
impl RefUnwindSafe for RealtimeModelContractError
impl Send for RealtimeModelContractError
impl Sync for RealtimeModelContractError
impl Unpin for RealtimeModelContractError
impl UnsafeUnpin for RealtimeModelContractError
impl UnwindSafe for RealtimeModelContractError
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