#[non_exhaustive]pub enum ModelInvocationRevisionError {
InvalidFormat,
NonCanonical,
AboveMaximum,
}Expand description
Invalid canonical model 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 ModelInvocationRevisionError
impl Clone for ModelInvocationRevisionError
Source§impl Debug for ModelInvocationRevisionError
impl Debug for ModelInvocationRevisionError
impl Eq for ModelInvocationRevisionError
Source§impl Error for ModelInvocationRevisionError
impl Error for ModelInvocationRevisionError
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 ModelInvocationRevisionError
Auto Trait Implementations§
impl Forget for ModelInvocationRevisionError
impl Freeze for ModelInvocationRevisionError
impl Move for ModelInvocationRevisionError
impl RefUnwindSafe for ModelInvocationRevisionError
impl Send for ModelInvocationRevisionError
impl Sync for ModelInvocationRevisionError
impl Unpin for ModelInvocationRevisionError
impl UnsafeUnpin for ModelInvocationRevisionError
impl UnwindSafe for ModelInvocationRevisionError
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