Enum uriparse::fragment::InvalidFragment [−][src]
pub enum InvalidFragment { InvalidCharacter, InvalidPercentEncoding, }
An error representing an invalid fragment.
Variants
InvalidCharacter
The fragment contained an invalid character.
InvalidPercentEncoding
The fragment contained an invalid percent encoding (e.g. "%ZZ"
).
Trait Implementations
impl Clone for InvalidFragment
[src]
impl Clone for InvalidFragment
fn clone(&self) -> InvalidFragment
[src]
fn clone(&self) -> InvalidFragment
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 Copy for InvalidFragment
[src]
impl Copy for InvalidFragment
impl Debug for InvalidFragment
[src]
impl Debug for InvalidFragment
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 InvalidFragment
[src]
impl Eq for InvalidFragment
impl Hash for InvalidFragment
[src]
impl Hash for InvalidFragment
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 InvalidFragment
[src]
impl PartialEq for InvalidFragment
fn eq(&self, other: &InvalidFragment) -> bool
[src]
fn eq(&self, other: &InvalidFragment) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Display for InvalidFragment
[src]
impl Display for InvalidFragment
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 InvalidFragment
[src]
impl Error for InvalidFragment
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<!> for InvalidFragment
[src]
impl From<!> for InvalidFragment
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.
Auto Trait Implementations
impl Send for InvalidFragment
impl Send for InvalidFragment
impl Sync for InvalidFragment
impl Sync for InvalidFragment