pub enum HttpUrlError {
InvalidUrl,
}
Expand description
Represents different types of errors that can occur when handling HTTP URLs.
This enum defines various error types specifically related to parsing or otherwise processing HTTP URLs.
Variants§
InvalidUrl
Indicates that the provided URL is invalid.
Trait Implementations§
Source§impl Clone for HttpUrlError
impl Clone for HttpUrlError
Source§fn clone(&self) -> HttpUrlError
fn clone(&self) -> HttpUrlError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HttpUrlError
impl Debug for HttpUrlError
Source§impl Display for HttpUrlError
Implements the Display
trait for HttpUrlError
, allowing it to be formatted as a string.
impl Display for HttpUrlError
Implements the Display
trait for HttpUrlError
, allowing it to be formatted as a string.
Source§impl Error for HttpUrlError
Implements the StdError
trait for HttpUrlError
.
impl Error for HttpUrlError
Implements the StdError
trait for HttpUrlError
.
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 PartialEq for HttpUrlError
impl PartialEq for HttpUrlError
impl Eq for HttpUrlError
impl StructuralPartialEq for HttpUrlError
Auto Trait Implementations§
impl Freeze for HttpUrlError
impl RefUnwindSafe for HttpUrlError
impl Send for HttpUrlError
impl Sync for HttpUrlError
impl Unpin for HttpUrlError
impl UnwindSafe for HttpUrlError
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