Struct actix_identity::error::LoginError
source · pub struct LoginError(/* private fields */);
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(original: SessionInsertError) -> LoginError
fn from(original: SessionInsertError) -> LoginError
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
Auto Trait Implementations§
impl RefUnwindSafe for LoginError
impl Send for LoginError
impl Sync for LoginError
impl Unpin for LoginError
impl UnwindSafe for LoginError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more