pub struct Url2Error(/* private fields */);Expand description
Represents a Url2 Error
Implementations§
Source§impl Url2Error
impl Url2Error
Sourcepub fn kind(&self) -> &Url2ErrorKind
pub fn kind(&self) -> &Url2ErrorKind
access the Url2ErrorKind for this error
Sourcepub fn into_kind(self) -> Url2ErrorKind
pub fn into_kind(self) -> Url2ErrorKind
convert this error into a raw kind
Trait Implementations§
Source§impl Error for Url2Error
impl Error for Url2Error
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<ParseError> for Url2Error
impl From<ParseError> for Url2Error
Source§fn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<Url2ErrorKind> for Url2Error
impl From<Url2ErrorKind> for Url2Error
Source§fn from(kind: Url2ErrorKind) -> Url2Error
fn from(kind: Url2ErrorKind) -> Url2Error
Converts to this type from the input type.
impl Eq for Url2Error
impl StructuralPartialEq for Url2Error
Auto Trait Implementations§
impl Freeze for Url2Error
impl RefUnwindSafe for Url2Error
impl Send for Url2Error
impl Sync for Url2Error
impl Unpin for Url2Error
impl UnwindSafe for Url2Error
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