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