#[non_exhaustive]pub enum ToolInvocationHeadError {
JournalTenantMismatch,
JournalRunMismatch,
PreparedHasAttempt,
AttemptMissing,
InitialStatusMismatch,
PreparedRevisionMismatch,
}Expand description
Invalid compact 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 ToolInvocationHeadError
impl Clone for ToolInvocationHeadError
Source§impl Debug for ToolInvocationHeadError
impl Debug for ToolInvocationHeadError
Source§impl Display for ToolInvocationHeadError
impl Display for ToolInvocationHeadError
impl Eq for ToolInvocationHeadError
Source§impl Error for ToolInvocationHeadError
impl Error for ToolInvocationHeadError
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 ToolInvocationHeadError
impl PartialEq for ToolInvocationHeadError
impl StructuralPartialEq for ToolInvocationHeadError
Auto Trait Implementations§
impl Forget for ToolInvocationHeadError
impl Freeze for ToolInvocationHeadError
impl Move for ToolInvocationHeadError
impl RefUnwindSafe for ToolInvocationHeadError
impl Send for ToolInvocationHeadError
impl Sync for ToolInvocationHeadError
impl Unpin for ToolInvocationHeadError
impl UnsafeUnpin for ToolInvocationHeadError
impl UnwindSafe for ToolInvocationHeadError
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