pub enum AirportCodeParseError {
InvalidLength(usize),
InvalidCharacter(char),
}Variants§
Trait Implementations§
Source§impl Debug for AirportCodeParseError
impl Debug for AirportCodeParseError
Source§impl Display for AirportCodeParseError
impl Display for AirportCodeParseError
Source§impl Error for AirportCodeParseError
impl Error for AirportCodeParseError
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 AirportCodeParseError
impl RefUnwindSafe for AirportCodeParseError
impl Send for AirportCodeParseError
impl Sync for AirportCodeParseError
impl Unpin for AirportCodeParseError
impl UnwindSafe for AirportCodeParseError
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