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