#[non_exhaustive]pub enum SuperstepError {
InvalidFormat,
NonCanonical,
AboveMaximum,
}Expand description
Invalid canonical superstep value.
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 wire value contained a leading zero.
AboveMaximum
The value exceeded signed PostgreSQL BIGINT.
Trait Implementations§
Source§impl Clone for SuperstepError
impl Clone for SuperstepError
Source§impl Debug for SuperstepError
impl Debug for SuperstepError
Source§impl Display for SuperstepError
impl Display for SuperstepError
impl Eq for SuperstepError
Source§impl Error for SuperstepError
impl Error for SuperstepError
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 SuperstepError
impl PartialEq for SuperstepError
impl StructuralPartialEq for SuperstepError
Auto Trait Implementations§
impl Forget for SuperstepError
impl Freeze for SuperstepError
impl Move for SuperstepError
impl RefUnwindSafe for SuperstepError
impl Send for SuperstepError
impl Sync for SuperstepError
impl Unpin for SuperstepError
impl UnsafeUnpin for SuperstepError
impl UnwindSafe for SuperstepError
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