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
Tuple Fields of MissingField
0: &'static str
ToStrError(ToStrError)
Unable to convert header into the str
Tuple Fields of ToStrError
0: ToStrError
Malformed base64 string
Utf8Error(Utf8Error)
Malformed UTF-8 string
Tuple Fields of Utf8Error
0: Utf8Error
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
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more