Enum whois_rust::WhoIsError
source · pub enum WhoIsError {
SerdeJsonError(Error),
IOError(Error),
HostError(HostError),
Elapsed(Elapsed),
MapError(&'static str),
}
Variants§
SerdeJsonError(Error)
IOError(Error)
HostError(HostError)
Elapsed(Elapsed)
MapError(&'static str)
This kind of errors is recommended to be panic!
Trait Implementations§
source§impl Debug for WhoIsError
impl Debug for WhoIsError
source§impl Display for WhoIsError
impl Display for WhoIsError
source§impl Error for WhoIsError
impl Error for WhoIsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Elapsed> for WhoIsError
impl From<Elapsed> for WhoIsError
source§impl From<Error> for WhoIsError
impl From<Error> for WhoIsError
source§impl From<Error> for WhoIsError
impl From<Error> for WhoIsError
Auto Trait Implementations§
impl !RefUnwindSafe for WhoIsError
impl Send for WhoIsError
impl Sync for WhoIsError
impl Unpin for WhoIsError
impl !UnwindSafe for WhoIsError
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