pub enum ConversionError {
InputInvalid(String),
TooLarge,
}
Expand description
Represents possible errors the library can return.
Variants§
InputInvalid(String)
The provided input could not be parsed; more details may be available in the String.
TooLarge
The provided input was parsed correctly, but the output was too large to fit in a u128.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConversionError
impl RefUnwindSafe for ConversionError
impl Send for ConversionError
impl Sync for ConversionError
impl Unpin for ConversionError
impl UnwindSafe for ConversionError
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