pub enum SessionError {
NotFound(Uuid),
Remote(String),
}Expand description
Why a route could not be matched to a session.
Variants§
NotFound(Uuid)
No state is registered for the session the route targets.
Remote(String)
The remote end reported a session failure.
Trait Implementations§
Source§impl Clone for SessionError
impl Clone for SessionError
Source§impl Debug for SessionError
impl Debug for SessionError
Source§impl From<SessionError> for Error
impl From<SessionError> for Error
Source§fn from(error: SessionError) -> Self
fn from(error: SessionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SessionError
impl RefUnwindSafe for SessionError
impl Send for SessionError
impl Sync for SessionError
impl Unpin for SessionError
impl UnsafeUnpin 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