pub enum TLDExtractError {
DomainError(String),
SuffixListError(String),
Io(Error),
}
Expand description
TLDExtractError Enum
Variants§
Trait Implementations§
Source§impl Debug for TLDExtractError
impl Debug for TLDExtractError
Source§impl Display for TLDExtractError
impl Display for TLDExtractError
Source§impl Error for TLDExtractError
impl Error for TLDExtractError
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 TLDExtractError
impl !RefUnwindSafe for TLDExtractError
impl Send for TLDExtractError
impl Sync for TLDExtractError
impl Unpin for TLDExtractError
impl !UnwindSafe for TLDExtractError
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