Enum tokio_http2::error::ParseError
[−]
pub enum ParseError { EmptyHost, IdnaError, InvalidPort, InvalidIpv4Address, InvalidIpv6Address, InvalidDomainCharacter, RelativeUrlWithoutBase, RelativeUrlWithCannotBeABaseBase, SetHostOnCannotBeABaseUrl, Overflow, }
Errors that can occur during parsing.
Variants
EmptyHost
IdnaError
InvalidPort
InvalidIpv4Address
InvalidIpv6Address
InvalidDomainCharacter
RelativeUrlWithoutBase
RelativeUrlWithCannotBeABaseBase
SetHostOnCannotBeABaseUrl
Overflow
Trait Implementations
impl Error for ParseError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl PartialEq<ParseError> for ParseError
fn eq(&self, __arg_0: &ParseError) -> 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
This method tests for !=
.
impl Debug for ParseError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Copy for ParseError
impl Clone for ParseError
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Display for ParseError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl From<Errors> for ParseError
fn from(Errors) -> ParseError
Performs the conversion.