Enum actix_web_httpauth::AuthError
[−]
[src]
pub enum AuthError {
HeaderMissing,
InvalidMechanism,
HeaderMalformed,
}Variants
HeaderMissingInvalidMechanismHeaderMalformed
Trait Implementations
impl Debug for AuthError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for AuthError[src]
fn eq(&self, __arg_0: &AuthError) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Display for AuthError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Error for AuthError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
The lower-level cause of this error, if any. Read more
impl From<ToStrError> for AuthError[src]
fn from(_: ToStrError) -> Self[src]
Performs the conversion.
impl From<DecodeError> for AuthError[src]
fn from(_: DecodeError) -> Self[src]
Performs the conversion.
impl From<FromUtf8Error> for AuthError[src]
fn from(_: FromUtf8Error) -> Self[src]
Performs the conversion.
impl ResponseError for AuthError[src]
fn error_response(&self) -> HttpResponse[src]
Create response for error Read more