pub enum SessionLayerError<SessionStoreConnectorError, InnerError> {
SessionStore(Error<SessionStoreConnectorError>),
Inner(InnerError),
}
Expand description
The error type for the session layer.
Variants§
SessionStore(Error<SessionStoreConnectorError>)
An error occurred in the session store.
Inner(InnerError)
An error occurred in some inner service.
Trait Implementations§
source§impl<SessionStoreConnectorError: Debug, InnerError: Debug> Debug for SessionLayerError<SessionStoreConnectorError, InnerError>
impl<SessionStoreConnectorError: Debug, InnerError: Debug> Debug for SessionLayerError<SessionStoreConnectorError, InnerError>
source§impl<SessionStoreConnectorError: Display, InnerError: Display> Display for SessionLayerError<SessionStoreConnectorError, InnerError>
impl<SessionStoreConnectorError: Display, InnerError: Display> Display for SessionLayerError<SessionStoreConnectorError, InnerError>
source§impl<SessionStoreConnectorError: Debug + Display, InnerError: Debug + Display> Error for SessionLayerError<SessionStoreConnectorError, InnerError>
impl<SessionStoreConnectorError: Debug + Display, InnerError: Debug + Display> Error for SessionLayerError<SessionStoreConnectorError, InnerError>
1.30.0 · 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()
Auto Trait Implementations§
impl<SessionStoreConnectorError, InnerError> RefUnwindSafe for SessionLayerError<SessionStoreConnectorError, InnerError>where
InnerError: RefUnwindSafe,
SessionStoreConnectorError: RefUnwindSafe,
impl<SessionStoreConnectorError, InnerError> Send for SessionLayerError<SessionStoreConnectorError, InnerError>
impl<SessionStoreConnectorError, InnerError> Sync for SessionLayerError<SessionStoreConnectorError, InnerError>
impl<SessionStoreConnectorError, InnerError> Unpin for SessionLayerError<SessionStoreConnectorError, InnerError>
impl<SessionStoreConnectorError, InnerError> UnwindSafe for SessionLayerError<SessionStoreConnectorError, InnerError>where
InnerError: UnwindSafe,
SessionStoreConnectorError: UnwindSafe,
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