Enum tldextract::errors::TldExtractError
source · [−]pub enum TldExtractError {
NoHostError(String),
UrlParse(ParseError),
Io(Error),
Json(Error),
}
Variants
NoHostError(String)
UrlParse(ParseError)
Io(Error)
Json(Error)
Trait Implementations
sourceimpl Debug for TldExtractError
impl Debug for TldExtractError
sourceimpl Display for TldExtractError
impl Display for TldExtractError
sourceimpl Error for TldExtractError
impl Error for TldExtractError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for TldExtractError
impl From<Error> for TldExtractError
sourceimpl From<Error> for TldExtractError
impl From<Error> for TldExtractError
sourceimpl From<ParseError> for TldExtractError
impl From<ParseError> for TldExtractError
sourcefn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for TldExtractError
impl Send for TldExtractError
impl Sync for TldExtractError
impl Unpin for TldExtractError
impl !UnwindSafe for TldExtractError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more