pub enum ParseEventIDError {
Format(char),
Number(ParseIntError),
}
Expand description
The error type returned by EventID::from_str
Variants§
Format(char)
Number(ParseIntError)
Trait Implementations§
Source§impl Debug for ParseEventIDError
impl Debug for ParseEventIDError
Source§impl Display for ParseEventIDError
impl Display for ParseEventIDError
Source§impl Error for ParseEventIDError
impl Error for ParseEventIDError
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()
Auto Trait Implementations§
impl Freeze for ParseEventIDError
impl RefUnwindSafe for ParseEventIDError
impl Send for ParseEventIDError
impl Sync for ParseEventIDError
impl Unpin for ParseEventIDError
impl UnwindSafe for ParseEventIDError
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