pub enum ParseCodeError {
CharError(ParseCharError),
IntError(TryFromIntError),
}
Expand description
Error parsing a code
Variants§
CharError(ParseCharError)
Error parsing a character
IntError(TryFromIntError)
Error converting to valid bounds
Trait Implementations§
Source§impl Debug for ParseCodeError
impl Debug for ParseCodeError
Source§impl Display for ParseCodeError
impl Display for ParseCodeError
Source§impl Error for ParseCodeError
impl Error for ParseCodeError
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 From<ParseCharError> for ParseCodeError
impl From<ParseCharError> for ParseCodeError
Source§fn from(source: ParseCharError) -> Self
fn from(source: ParseCharError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for ParseCodeError
impl From<TryFromIntError> for ParseCodeError
Source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseCodeError
impl RefUnwindSafe for ParseCodeError
impl Send for ParseCodeError
impl Sync for ParseCodeError
impl Unpin for ParseCodeError
impl UnwindSafe for ParseCodeError
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