pub enum NumeralError<'a> {
InvalidCharacter(char),
InvalidNumeral(&'a str),
}Variants§
Trait Implementations§
Source§impl<'a> Debug for NumeralError<'a>
impl<'a> Debug for NumeralError<'a>
Source§impl<'a> Display for NumeralError<'a>
impl<'a> Display for NumeralError<'a>
Source§impl<'a> Error for NumeralError<'a>
impl<'a> Error for NumeralError<'a>
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<'a> PartialEq for NumeralError<'a>
impl<'a> PartialEq for NumeralError<'a>
impl<'a> StructuralPartialEq for NumeralError<'a>
Auto Trait Implementations§
impl<'a> Freeze for NumeralError<'a>
impl<'a> RefUnwindSafe for NumeralError<'a>
impl<'a> Send for NumeralError<'a>
impl<'a> Sync for NumeralError<'a>
impl<'a> Unpin for NumeralError<'a>
impl<'a> UnwindSafe for NumeralError<'a>
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