Enum uriparse::uri::InvalidURIReference [−][src]
pub enum InvalidURIReference { AbsolutePathCannotStartWithTwoSlashes, SchemelessPathCannotStartWithColonSegment, InvalidAuthority(InvalidAuthority), InvalidFragment(InvalidFragment), InvalidPath(InvalidPath), InvalidQuery(InvalidQuery), InvalidScheme(InvalidScheme), }
Variants
AbsolutePathCannotStartWithTwoSlashes
SchemelessPathCannotStartWithColonSegment
InvalidAuthority(InvalidAuthority)
InvalidFragment(InvalidFragment)
InvalidPath(InvalidPath)
InvalidQuery(InvalidQuery)
InvalidScheme(InvalidScheme)
Trait Implementations
impl From<!> for InvalidURIReference
[src]
impl From<!> for InvalidURIReference
impl TryFrom<InvalidURIReference> for InvalidURI
[src]
impl TryFrom<InvalidURIReference> for InvalidURI
type Error = ()
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: InvalidURIReference) -> Result<Self, Self::Error>
[src]
fn try_from(value: InvalidURIReference) -> Result<Self, Self::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl Clone for InvalidURIReference
[src]
impl Clone for InvalidURIReference
fn clone(&self) -> InvalidURIReference
[src]
fn clone(&self) -> InvalidURIReference
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for InvalidURIReference
[src]
impl Debug for InvalidURIReference
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for InvalidURIReference
[src]
impl Eq for InvalidURIReference
impl Hash for InvalidURIReference
[src]
impl Hash for InvalidURIReference
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for InvalidURIReference
[src]
impl PartialEq for InvalidURIReference
fn eq(&self, other: &InvalidURIReference) -> bool
[src]
fn eq(&self, other: &InvalidURIReference) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &InvalidURIReference) -> bool
[src]
fn ne(&self, other: &InvalidURIReference) -> bool
This method tests for !=
.
impl Display for InvalidURIReference
[src]
impl Display for InvalidURIReference
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for InvalidURIReference
[src]
impl Error for InvalidURIReference
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<InvalidAuthority> for InvalidURIReference
[src]
impl From<InvalidAuthority> for InvalidURIReference
fn from(value: InvalidAuthority) -> Self
[src]
fn from(value: InvalidAuthority) -> Self
Performs the conversion.
impl From<InvalidFragment> for InvalidURIReference
[src]
impl From<InvalidFragment> for InvalidURIReference
fn from(value: InvalidFragment) -> Self
[src]
fn from(value: InvalidFragment) -> Self
Performs the conversion.
impl From<InvalidPath> for InvalidURIReference
[src]
impl From<InvalidPath> for InvalidURIReference
fn from(value: InvalidPath) -> Self
[src]
fn from(value: InvalidPath) -> Self
Performs the conversion.
impl From<InvalidQuery> for InvalidURIReference
[src]
impl From<InvalidQuery> for InvalidURIReference
fn from(value: InvalidQuery) -> Self
[src]
fn from(value: InvalidQuery) -> Self
Performs the conversion.
impl From<InvalidScheme> for InvalidURIReference
[src]
impl From<InvalidScheme> for InvalidURIReference
fn from(value: InvalidScheme) -> Self
[src]
fn from(value: InvalidScheme) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for InvalidURIReference
impl Send for InvalidURIReference
impl Sync for InvalidURIReference
impl Sync for InvalidURIReference