#[non_exhaustive]pub enum ModelInvocationIntentError {
RetiredModel,
CapabilityMismatch {
mismatch: Box<ModelCapabilityMismatch>,
},
Integrity {
source: ModelInvocationIntegrityError,
},
DigestMismatch,
}Expand description
Invalid durable model invocation intent.
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.
RetiredModel
A historical-only model binding was selected for new execution.
CapabilityMismatch
The exact binding cannot satisfy every request requirement.
Fields
§
mismatch: Box<ModelCapabilityMismatch>Deterministic complete mismatch set.
Integrity
Canonical integrity material could not be serialized.
Fields
§
source: ModelInvocationIntegrityErrorExact integrity failure.
DigestMismatch
Persisted intent checksum did not match caller-controlled fields.
Trait Implementations§
Source§impl Clone for ModelInvocationIntentError
impl Clone for ModelInvocationIntentError
Source§impl Debug for ModelInvocationIntentError
impl Debug for ModelInvocationIntentError
Source§impl Display for ModelInvocationIntentError
impl Display for ModelInvocationIntentError
impl Eq for ModelInvocationIntentError
Source§impl Error for ModelInvocationIntentError
impl Error for ModelInvocationIntentError
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()
Source§impl From<ModelInvocationIntegrityError> for ModelInvocationIntentError
impl From<ModelInvocationIntegrityError> for ModelInvocationIntentError
Source§fn from(source: ModelInvocationIntegrityError) -> Self
fn from(source: ModelInvocationIntegrityError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ModelInvocationIntentError
Auto Trait Implementations§
impl Forget for ModelInvocationIntentError
impl Freeze for ModelInvocationIntentError
impl Move for ModelInvocationIntentError
impl RefUnwindSafe for ModelInvocationIntentError
impl Send for ModelInvocationIntentError
impl Sync for ModelInvocationIntentError
impl Unpin for ModelInvocationIntentError
impl UnsafeUnpin for ModelInvocationIntentError
impl UnwindSafe for ModelInvocationIntentError
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