pub struct InvalidUrlParts(/* private fields */);Expand description
An error returned by Url::from_parts.
Implementations§
Source§impl InvalidUrlParts
impl InvalidUrlParts
Sourcepub fn into_inner(self) -> InvalidUrl
pub fn into_inner(self) -> InvalidUrl
Returns the underlying error.
Trait Implementations§
Source§impl Clone for InvalidUrlParts
impl Clone for InvalidUrlParts
Source§fn clone(&self) -> InvalidUrlParts
fn clone(&self) -> InvalidUrlParts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InvalidUrlParts
Source§impl Debug for InvalidUrlParts
impl Debug for InvalidUrlParts
Source§impl Display for InvalidUrlParts
impl Display for InvalidUrlParts
impl Eq for InvalidUrlParts
Source§impl Error for InvalidUrlParts
impl Error for InvalidUrlParts
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<InvalidUrl> for InvalidUrlParts
impl From<InvalidUrl> for InvalidUrlParts
Source§fn from(err: InvalidUrl) -> Self
fn from(err: InvalidUrl) -> Self
Converts to this type from the input type.
Source§impl Hash for InvalidUrlParts
impl Hash for InvalidUrlParts
Source§impl PartialEq for InvalidUrlParts
impl PartialEq for InvalidUrlParts
impl StructuralPartialEq for InvalidUrlParts
Auto Trait Implementations§
impl Freeze for InvalidUrlParts
impl RefUnwindSafe for InvalidUrlParts
impl Send for InvalidUrlParts
impl Sync for InvalidUrlParts
impl Unpin for InvalidUrlParts
impl UnsafeUnpin for InvalidUrlParts
impl UnwindSafe for InvalidUrlParts
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