pub enum NumericEncoderError {
ScaleExceeded(i64, i64),
Overflow(String),
}
Expand description
Errors that can occur during encoding or decoding.
Variants§
Trait Implementations§
Source§impl Debug for NumericEncoderError
impl Debug for NumericEncoderError
Source§impl Display for NumericEncoderError
impl Display for NumericEncoderError
Source§impl Error for NumericEncoderError
impl Error for NumericEncoderError
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()
Auto Trait Implementations§
impl Freeze for NumericEncoderError
impl RefUnwindSafe for NumericEncoderError
impl Send for NumericEncoderError
impl Sync for NumericEncoderError
impl Unpin for NumericEncoderError
impl UnwindSafe for NumericEncoderError
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