Enum actix_web_httpauth::headers::authorization::ParseError [−][src]
pub enum ParseError {
Invalid,
MissingScheme,
MissingField(&'static str),
ToStrError(ToStrError),
Base64DecodeError(DecodeError),
Utf8Error(Utf8Error),
}
Expand description
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
Tuple Fields of MissingField
0: &'static str
Unable to convert header into the str
Tuple Fields of ToStrError
0: ToStrError
Malformed base64 string
Malformed UTF-8 string
Tuple Fields of Utf8Error
0: Utf8Error
Trait Implementations
Performs the conversion.