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