Enum gotham::middleware::session::SessionError
source · #[non_exhaustive]pub enum SessionError {
Backend(String),
Deserialize,
}
Expand description
The kind of failure which occurred trying to perform a session operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Backend(String)
The backend failed, and the included message describes the problem.
Deserialize
The session was unable to be deserialized.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionError
impl RefUnwindSafe for SessionError
impl Send for SessionError
impl Sync for SessionError
impl Unpin for SessionError
impl UnwindSafe for SessionError
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