pub enum FlightRadarError {
Http(Error),
Parsing(String),
General(String),
Parameter(String),
}Expand description
Crate Error Types that may arise.
Variants§
Http(Error)
Errors returned by the HTTP client.
Parsing(String)
Errors that occur during parsing.
General(String)
A general error with a message.
Parameter(String)
Invalid Parameter Passed to API.
Trait Implementations§
Source§impl Debug for FlightRadarError
impl Debug for FlightRadarError
Source§impl Display for FlightRadarError
impl Display for FlightRadarError
Source§impl Error for FlightRadarError
impl Error for FlightRadarError
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 FlightRadarError
impl !RefUnwindSafe for FlightRadarError
impl Send for FlightRadarError
impl Sync for FlightRadarError
impl Unpin for FlightRadarError
impl UnsafeUnpin for FlightRadarError
impl !UnwindSafe for FlightRadarError
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