Enum casper_types::UIntParseError
source · #[non_exhaustive]pub enum UIntParseError {
FromDecStr(FromDecStrErr),
InvalidRadix,
}
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.
FromDecStr(FromDecStrErr)
Contains the parsing error from the uint
crate, which only supports base-10 parsing.
InvalidRadix
Parsing was attempted on a string representing the number in some base other than 10.
Note: a general radix may be supported in the future.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UIntParseError
impl RefUnwindSafe for UIntParseError
impl Send for UIntParseError
impl Sync for UIntParseError
impl Unpin for UIntParseError
impl UnwindSafe for UIntParseError
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