Enum http_auth_basic::AuthBasicError [−][src]
pub enum AuthBasicError { InvalidAuthorizationHeader, InvalidScheme(String), InvalidBase64Value(String), InvalidUtf8Value(String), }
Authorization Header Error
Variants
The HTTP Authorization header value is invalid
InvalidScheme(String)
The HTTP Authorization header contains a valid
value but the scheme is other than Basic
InvalidBase64Value(String)
The value expected as a base64 encoded String
is not
encoded correctly
InvalidUtf8Value(String)
The provided binary is not a valid UTF-8 character
Trait Implementations
impl From<DecodeError> for AuthBasicError
[src]
impl From<DecodeError> for AuthBasicError
[src]fn from(decode_error: DecodeError) -> Self
[src]
impl From<FromUtf8Error> for AuthBasicError
[src]
impl From<FromUtf8Error> for AuthBasicError
[src]fn from(utf8_err: FromUtf8Error) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for AuthBasicError
impl RefUnwindSafe for AuthBasicError
impl Send for AuthBasicError
impl Send for AuthBasicError
impl Sync for AuthBasicError
impl Sync for AuthBasicError
impl Unpin for AuthBasicError
impl Unpin for AuthBasicError
impl UnwindSafe for AuthBasicError
impl UnwindSafe for AuthBasicError