Struct InvalidUriParts
pub struct InvalidUriParts(/* private fields */);
Expand description
An error resulting from a failed attempt to construct a URI.
Trait Implementations§
§impl Debug for InvalidUriParts
impl Debug for InvalidUriParts
§impl Display for InvalidUriParts
impl Display for InvalidUriParts
§impl Error for InvalidUriParts
impl Error for InvalidUriParts
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()
§impl From<ErrorKind> for InvalidUriParts
impl From<ErrorKind> for InvalidUriParts
§fn from(src: ErrorKind) -> InvalidUriParts
fn from(src: ErrorKind) -> InvalidUriParts
Converts to this type from the input type.
§impl From<InvalidUriParts> for Error
impl From<InvalidUriParts> for Error
§fn from(err: InvalidUriParts) -> Error
fn from(err: InvalidUriParts) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidUriParts
impl RefUnwindSafe for InvalidUriParts
impl Send for InvalidUriParts
impl Sync for InvalidUriParts
impl Unpin for InvalidUriParts
impl UnwindSafe for InvalidUriParts
Blanket Implementations§
source§impl<T> AsCleanDebug for Twhere
T: Display,
impl<T> AsCleanDebug for Twhere
T: Display,
source§fn as_clean(&self) -> CleanDebug<'_, Self>where
Self: Display,
fn as_clean(&self) -> CleanDebug<'_, Self>where
Self: Display,
Get a
CleanDebug
for Self. Read moresource§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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string()
Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more