pub enum NumberIdTransformError {
EncodeBufferTooSmall,
Corrupted,
}Expand description
Error type for transformable numbers.
Variants§
EncodeBufferTooSmall
Returned when the buffer is too small to encode.
Corrupted
Returned when the id is corrupted.
Trait Implementations§
source§impl Debug for NumberIdTransformError
impl Debug for NumberIdTransformError
source§impl Display for NumberIdTransformError
impl Display for NumberIdTransformError
source§impl Error for NumberIdTransformError
impl Error for NumberIdTransformError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 RefUnwindSafe for NumberIdTransformError
impl Send for NumberIdTransformError
impl Sync for NumberIdTransformError
impl Unpin for NumberIdTransformError
impl UnwindSafe for NumberIdTransformError
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