pub struct InvalidUrlError { /* private fields */ }Expand description
An error parsing a web-based URL from an owned string.
The invalid URL string can be recovered, like std::string::FromUtf8Error.
Implementations§
Source§impl InvalidUrlError
Properties
impl InvalidUrlError
Properties
Trait Implementations§
Source§impl Clone for InvalidUrlError
impl Clone for InvalidUrlError
Source§impl Debug for InvalidUrlError
impl Debug for InvalidUrlError
Source§impl Display for InvalidUrlError
impl Display for InvalidUrlError
impl Eq for InvalidUrlError
Source§impl Error for InvalidUrlError
The source is not the parse error: its message is this error’s message, so a chain would just print it twice. Use
error for the typed parse error.
impl Error for InvalidUrlError
The source is not the parse error: its message is this error’s message, so a chain would just print it twice. Use
error for the typed parse error.
1.30.0 · 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<InvalidUrlError> for Error
impl From<InvalidUrlError> for Error
Source§fn from(error: InvalidUrlError) -> Self
fn from(error: InvalidUrlError) -> Self
Converts to this type from the input type.
Source§impl Hash for InvalidUrlError
impl Hash for InvalidUrlError
Source§impl Ord for InvalidUrlError
impl Ord for InvalidUrlError
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for InvalidUrlError
impl PartialEq for InvalidUrlError
Source§impl PartialOrd for InvalidUrlError
impl PartialOrd for InvalidUrlError
impl StructuralPartialEq for InvalidUrlError
Auto Trait Implementations§
impl Freeze for InvalidUrlError
impl RefUnwindSafe for InvalidUrlError
impl Send for InvalidUrlError
impl Sync for InvalidUrlError
impl Unpin for InvalidUrlError
impl UnsafeUnpin for InvalidUrlError
impl UnwindSafe for InvalidUrlError
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