Enum actix_web::error::UrlParseError [−][src]
pub enum UrlParseError { 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 Display for ParseError
[src]
impl Display for ParseError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<Errors> for ParseError
[src]
impl From<Errors> for ParseError
fn from(Errors) -> ParseError
[src]
fn from(Errors) -> ParseError
Performs the conversion.
impl Copy for ParseError
[src]
impl Copy for ParseError
impl Eq for ParseError
[src]
impl Eq for ParseError
impl Error for ParseError
[src]
impl Error for ParseError
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 PartialEq<ParseError> for ParseError
[src]
impl PartialEq<ParseError> for ParseError
fn eq(&self, other: &ParseError) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for ParseError
[src]
impl Clone for ParseError
fn clone(&self) -> ParseError
[src]
fn clone(&self) -> ParseError
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 ParseError
[src]
impl Debug for ParseError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<ParseError> for ProtoError
impl From<ParseError> for ProtoError
fn from(e: ParseError) -> ProtoError
fn from(e: ParseError) -> ProtoError
Performs the conversion.
impl ResponseError for UrlParseError
[src]
impl ResponseError for UrlParseError
InternalServerError
for UrlParseError
fn error_response(&self) -> HttpResponse
[src]
fn error_response(&self) -> HttpResponse
Create response for error Read more
impl From<UrlParseError> for UrlGenerationError
[src]
impl From<UrlParseError> for UrlGenerationError
fn from(err: UrlParseError) -> Self
[src]
fn from(err: UrlParseError) -> Self
Performs the conversion.
impl From<UrlParseError> for ClientError
[src]
impl From<UrlParseError> for ClientError
fn from(err: UrlParseError) -> ClientError
[src]
fn from(err: UrlParseError) -> ClientError
Performs the conversion.
Auto Trait Implementations
impl Send for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Sync for ParseError