pub enum ParseNumberError {
IntegerOutOfRangeError(IntegerOutOfRangeError),
ParseFloatError(ParseFloatError),
InvalidBaseError(InvalidBaseError),
LoneBaseError,
}Expand description
Error type for TokenizerContext::try_parse_number.
Variants§
IntegerOutOfRangeError(IntegerOutOfRangeError)
Wrapper for the contained error type.
ParseFloatError(ParseFloatError)
Wrapper for the contained error type.
InvalidBaseError(InvalidBaseError)
Wrapper for the contained error type.
LoneBaseError
Indicates a base signifier followed by nothing— ie: “0x” or “0b” with no digits afterwards.
Trait Implementations§
source§impl Clone for ParseNumberError
impl Clone for ParseNumberError
source§fn clone(&self) -> ParseNumberError
fn clone(&self) -> ParseNumberError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParseNumberError
impl RefUnwindSafe for ParseNumberError
impl Send for ParseNumberError
impl Sync for ParseNumberError
impl Unpin for ParseNumberError
impl UnwindSafe for ParseNumberError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)