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