Struct prometheus_http_query::error::ParseUrlError
source · pub struct ParseUrlError { /* private fields */ }
Expand description
Is thrown when the URL that is used to instantiate the Client
is invalid.
Implementations§
source§impl ParseUrlError
impl ParseUrlError
sourcepub fn inner(&self) -> &ParseError
pub fn inner(&self) -> &ParseError
Obtain the url::ParseError
that is the actual cause of this error.
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 StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + 'static)>
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 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