Struct actix_identity::error::LoginError
source · pub struct LoginError(_);
Expand description
Error that can occur during login attempts.
Trait Implementations§
source§impl Debug for LoginError
impl Debug for LoginError
source§impl Display for LoginError
impl Display for LoginError
source§impl Error for LoginError
impl Error for LoginError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<SessionInsertError> for LoginError
impl From<SessionInsertError> for LoginError
source§fn from(error: SessionInsertError) -> Self
fn from(error: SessionInsertError) -> Self
Converts to this type from the input type.
source§impl ResponseError for LoginError
impl ResponseError for LoginError
source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
§fn error_response(&self) -> HttpResponse<BoxBody>
fn error_response(&self) -> HttpResponse<BoxBody>
Creates full response for error. Read more