#[non_exhaustive]pub enum ToolInvocationRevisionError {
InvalidFormat,
NonCanonical,
AboveMaximum,
}Expand description
Invalid canonical invocation revision.
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.
InvalidFormat
The wire value was empty or contained a non-decimal byte.
NonCanonical
The decimal text contained a leading zero.
AboveMaximum
The value exceeded signed PostgreSQL BIGINT.
Trait Implementations§
Source§impl Clone for ToolInvocationRevisionError
impl Clone for ToolInvocationRevisionError
Source§impl Debug for ToolInvocationRevisionError
impl Debug for ToolInvocationRevisionError
impl Eq for ToolInvocationRevisionError
Source§impl Error for ToolInvocationRevisionError
impl Error for ToolInvocationRevisionError
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 ToolInvocationRevisionError
Auto Trait Implementations§
impl Forget for ToolInvocationRevisionError
impl Freeze for ToolInvocationRevisionError
impl Move for ToolInvocationRevisionError
impl RefUnwindSafe for ToolInvocationRevisionError
impl Send for ToolInvocationRevisionError
impl Sync for ToolInvocationRevisionError
impl Unpin for ToolInvocationRevisionError
impl UnsafeUnpin for ToolInvocationRevisionError
impl UnwindSafe for ToolInvocationRevisionError
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