#[non_exhaustive]pub enum Url2ErrorKind {
UrlParseError(ParseError),
}
Expand description
enum representing the type of Url2Error
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UrlParseError(ParseError)
Url Parsing Error
Trait Implementations§
Source§impl Clone for Url2ErrorKind
impl Clone for Url2ErrorKind
Source§fn clone(&self) -> Url2ErrorKind
fn clone(&self) -> Url2ErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Url2ErrorKind
impl Debug for Url2ErrorKind
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.
Source§impl PartialEq for Url2ErrorKind
impl PartialEq for Url2ErrorKind
impl Eq for Url2ErrorKind
impl StructuralPartialEq for Url2ErrorKind
Auto Trait Implementations§
impl Freeze for Url2ErrorKind
impl RefUnwindSafe for Url2ErrorKind
impl Send for Url2ErrorKind
impl Sync for Url2ErrorKind
impl Unpin for Url2ErrorKind
impl UnwindSafe for Url2ErrorKind
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