pub enum ParseUrlError {
BadUrl,
NeedKey,
InvalidKey(PartialParsedUrlParseError),
}
Variants§
Trait Implementations§
Source§impl Debug for ParseUrlError
impl Debug for ParseUrlError
Source§impl Display for ParseUrlError
impl Display for ParseUrlError
Source§impl Error for ParseUrlError
impl Error for ParseUrlError
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<PartialParsedUrlParseError> for ParseUrlError
impl From<PartialParsedUrlParseError> for ParseUrlError
Source§fn from(source: PartialParsedUrlParseError) -> Self
fn from(source: PartialParsedUrlParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseUrlError
impl RefUnwindSafe for ParseUrlError
impl Send for ParseUrlError
impl Sync for ParseUrlError
impl Unpin for ParseUrlError
impl UnwindSafe for ParseUrlError
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