pub enum AirlineCodeParseError {
InvalidLength(usize),
InvalidCharacter(char),
}Variants§
Trait Implementations§
Source§impl Debug for AirlineCodeParseError
impl Debug for AirlineCodeParseError
Source§impl Display for AirlineCodeParseError
impl Display for AirlineCodeParseError
Source§impl Error for AirlineCodeParseError
impl Error for AirlineCodeParseError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations§
impl Freeze for AirlineCodeParseError
impl RefUnwindSafe for AirlineCodeParseError
impl Send for AirlineCodeParseError
impl Sync for AirlineCodeParseError
impl Unpin for AirlineCodeParseError
impl UnwindSafe for AirlineCodeParseError
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