pub enum AntybrowserError {
Api {
status: u16,
body: String,
},
Http(Error),
Json(Error),
}Variants§
Trait Implementations§
Source§impl Debug for AntybrowserError
impl Debug for AntybrowserError
Source§impl Display for AntybrowserError
impl Display for AntybrowserError
Source§impl Error for AntybrowserError
impl Error for AntybrowserError
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 From<Error> for AntybrowserError
impl From<Error> for AntybrowserError
Auto Trait Implementations§
impl !RefUnwindSafe for AntybrowserError
impl !UnwindSafe for AntybrowserError
impl Freeze for AntybrowserError
impl Send for AntybrowserError
impl Sync for AntybrowserError
impl Unpin for AntybrowserError
impl UnsafeUnpin for AntybrowserError
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