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
MissingField(&'static str)
Required authentication field is missing
ToStrError(ToStrError)
Unable to convert header into the str
Malformed base64 string
Utf8Error(Utf8Error)
Malformed UTF-8 string
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError