pub enum ItrKindParseError {
ParseIntError(ParseIntError),
InvalidValue(u32),
}Expand description
Errors when parsing a string as an ItrKind.
Variants§
ParseIntError(ParseIntError)
The string could not be parsed as a u32.
InvalidValue(u32)
The value is not recognized as a valid ItrKind.
Trait Implementations§
Source§impl Clone for ItrKindParseError
impl Clone for ItrKindParseError
Source§fn clone(&self) -> ItrKindParseError
fn clone(&self) -> ItrKindParseError
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 Debug for ItrKindParseError
impl Debug for ItrKindParseError
Source§impl Display for ItrKindParseError
impl Display for ItrKindParseError
Source§impl Error for ItrKindParseError
impl Error for ItrKindParseError
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 PartialEq for ItrKindParseError
impl PartialEq for ItrKindParseError
impl Eq for ItrKindParseError
impl StructuralPartialEq for ItrKindParseError
Auto Trait Implementations§
impl Freeze for ItrKindParseError
impl RefUnwindSafe for ItrKindParseError
impl Send for ItrKindParseError
impl Sync for ItrKindParseError
impl Unpin for ItrKindParseError
impl UnwindSafe for ItrKindParseError
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