Enum uriparse::authority::InvalidAuthority [−][src]
pub enum InvalidAuthority { FoundPath, InvalidHost(InvalidHost), InvalidPort(InvalidPort), InvalidUserInfo(InvalidUserInfo), }
Variants
FoundPath
InvalidHost(InvalidHost)
InvalidPort(InvalidPort)
InvalidUserInfo(InvalidUserInfo)
Trait Implementations
impl Clone for InvalidAuthority
[src]
impl Clone for InvalidAuthority
fn clone(&self) -> InvalidAuthority
[src]
fn clone(&self) -> InvalidAuthority
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 InvalidAuthority
[src]
impl Copy for InvalidAuthority
impl Debug for InvalidAuthority
[src]
impl Debug for InvalidAuthority
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 InvalidAuthority
[src]
impl Eq for InvalidAuthority
impl Hash for InvalidAuthority
[src]
impl Hash for InvalidAuthority
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 InvalidAuthority
[src]
impl PartialEq for InvalidAuthority
fn eq(&self, other: &InvalidAuthority) -> bool
[src]
fn eq(&self, other: &InvalidAuthority) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &InvalidAuthority) -> bool
[src]
fn ne(&self, other: &InvalidAuthority) -> bool
This method tests for !=
.
impl Display for InvalidAuthority
[src]
impl Display for InvalidAuthority
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 InvalidAuthority
[src]
impl Error for InvalidAuthority
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 InvalidAuthority
[src]
impl From<!> for InvalidAuthority
impl From<InvalidHost> for InvalidAuthority
[src]
impl From<InvalidHost> for InvalidAuthority
fn from(value: InvalidHost) -> Self
[src]
fn from(value: InvalidHost) -> Self
Performs the conversion.
impl From<InvalidPort> for InvalidAuthority
[src]
impl From<InvalidPort> for InvalidAuthority
fn from(value: InvalidPort) -> Self
[src]
fn from(value: InvalidPort) -> Self
Performs the conversion.
impl From<InvalidUserInfo> for InvalidAuthority
[src]
impl From<InvalidUserInfo> for InvalidAuthority
fn from(value: InvalidUserInfo) -> Self
[src]
fn from(value: InvalidUserInfo) -> Self
Performs the conversion.
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.
Auto Trait Implementations
impl Send for InvalidAuthority
impl Send for InvalidAuthority
impl Sync for InvalidAuthority
impl Sync for InvalidAuthority