Enum gotham::middleware::session::SessionError [−][src]
#[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.
Tuple Fields of Backend
0: String
The session was unable to be deserialized.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SessionError
impl Send for SessionError
impl Sync for SessionError
impl Unpin for SessionError
impl UnwindSafe for SessionError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more