#[non_exhaustive]pub enum ModelInvocationHeadError {
JournalTenantMismatch,
JournalRunMismatch,
PreparedHasAttempt,
AttemptMissing,
InitialStatusMismatch,
PreparedRevisionMismatch,
}Expand description
Invalid compact model invocation head.
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.
JournalTenantMismatch
Journal head crossed the invocation tenant boundary.
JournalRunMismatch
Journal head named another run.
PreparedHasAttempt
Prepared status unexpectedly named a physical attempt.
AttemptMissing
A non-prepared status omitted its physical attempt.
InitialStatusMismatch
Revision zero named a state other than preparation.
PreparedRevisionMismatch
A later revision tried to return to preparation.
Trait Implementations§
Source§impl Clone for ModelInvocationHeadError
impl Clone for ModelInvocationHeadError
Source§impl Debug for ModelInvocationHeadError
impl Debug for ModelInvocationHeadError
Source§impl Display for ModelInvocationHeadError
impl Display for ModelInvocationHeadError
impl Eq for ModelInvocationHeadError
Source§impl Error for ModelInvocationHeadError
impl Error for ModelInvocationHeadError
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()
Source§impl PartialEq for ModelInvocationHeadError
impl PartialEq for ModelInvocationHeadError
impl StructuralPartialEq for ModelInvocationHeadError
Auto Trait Implementations§
impl Forget for ModelInvocationHeadError
impl Freeze for ModelInvocationHeadError
impl Move for ModelInvocationHeadError
impl RefUnwindSafe for ModelInvocationHeadError
impl Send for ModelInvocationHeadError
impl Sync for ModelInvocationHeadError
impl Unpin for ModelInvocationHeadError
impl UnsafeUnpin for ModelInvocationHeadError
impl UnwindSafe for ModelInvocationHeadError
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