Enum actix_web_httpauth::headers::authorization::ParseError [] [src]

pub enum ParseError {
    Invalid,
    MissingScheme,
    MissingField(&'static str),
    ToStrError(ToStrError),
    Base64DecodeError(DecodeError),
    Utf8Error(Utf8Error),
}

Possible errors while parsing Authorization header.

Should not be used directly unless you are implementing your own authentication scheme.

Variants

Header value is malformed

Authentication scheme is missing

Required authentication field is missing

Trait Implementations

impl Debug for ParseError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for ParseError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for ParseError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl From<ToStrError> for ParseError
[src]

[src]

Performs the conversion.

impl From<DecodeError> for ParseError
[src]

[src]

Performs the conversion.

impl From<Utf8Error> for ParseError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError