pub enum ParseDecimalIntegerRangeError {
InvalidLength(ParseNumberError),
InvalidOffset(ParseNumberError),
}Expand description
An error when trying to parse a decimal integer range (<n>[@<o>]).
Variants§
InvalidLength(ParseNumberError)
The length component was not a valid number.
InvalidOffset(ParseNumberError)
The offset component was not a valid number.
Trait Implementations§
Source§impl Clone for ParseDecimalIntegerRangeError
impl Clone for ParseDecimalIntegerRangeError
Source§fn clone(&self) -> ParseDecimalIntegerRangeError
fn clone(&self) -> ParseDecimalIntegerRangeError
Returns a duplicate 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 moreSource§impl Error for ParseDecimalIntegerRangeError
impl Error for ParseDecimalIntegerRangeError
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()
Source§impl From<ParseDecimalIntegerRangeError> for ParseMapByterangeError
impl From<ParseDecimalIntegerRangeError> for ParseMapByterangeError
Source§fn from(value: ParseDecimalIntegerRangeError) -> Self
fn from(value: ParseDecimalIntegerRangeError) -> Self
Converts to this type from the input type.
Source§impl From<ParseDecimalIntegerRangeError> for ParseTagValueError
impl From<ParseDecimalIntegerRangeError> for ParseTagValueError
Source§fn from(value: ParseDecimalIntegerRangeError) -> Self
fn from(value: ParseDecimalIntegerRangeError) -> Self
Converts to this type from the input type.
Source§impl From<ParseDecimalIntegerRangeError> for ValidationError
impl From<ParseDecimalIntegerRangeError> for ValidationError
Source§fn from(value: ParseDecimalIntegerRangeError) -> Self
fn from(value: ParseDecimalIntegerRangeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseDecimalIntegerRangeError
impl PartialEq for ParseDecimalIntegerRangeError
Source§fn eq(&self, other: &ParseDecimalIntegerRangeError) -> bool
fn eq(&self, other: &ParseDecimalIntegerRangeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ParseDecimalIntegerRangeError
impl StructuralPartialEq for ParseDecimalIntegerRangeError
Auto Trait Implementations§
impl Freeze for ParseDecimalIntegerRangeError
impl RefUnwindSafe for ParseDecimalIntegerRangeError
impl Send for ParseDecimalIntegerRangeError
impl Sync for ParseDecimalIntegerRangeError
impl Unpin for ParseDecimalIntegerRangeError
impl UnwindSafe for ParseDecimalIntegerRangeError
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