Enum actix_web::middleware::session::CookieSessionError
source · pub enum CookieSessionError {
Overflow,
Serialize(JsonError),
}
Expand description
Errors that can occur during handling cookie session
Variants
Overflow
Size of the serialized session is greater than 4000 bytes.
Serialize(JsonError)
Fail to serialize session.
Trait Implementations
sourceimpl Debug for CookieSessionError
impl Debug for CookieSessionError
sourceimpl Display for CookieSessionError
impl Display for CookieSessionError
sourceimpl Fail for CookieSessionError
impl Fail for CookieSessionError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl ResponseError for CookieSessionError
impl ResponseError for CookieSessionError
sourcefn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Create response for error Read more
Auto Trait Implementations
impl !RefUnwindSafe for CookieSessionError
impl Send for CookieSessionError
impl Sync for CookieSessionError
impl Unpin for CookieSessionError
impl !UnwindSafe for CookieSessionError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more