pub enum ServerSessionServerError {
HttpError(Error),
InvalidSession,
UnexpectedResponse {
status_code: u16,
body: String,
},
Unknown(String),
}
Variants§
Trait Implementations§
Source§impl Debug for ServerSessionServerError
impl Debug for ServerSessionServerError
Source§impl Display for ServerSessionServerError
impl Display for ServerSessionServerError
Source§impl Error for ServerSessionServerError
impl Error for ServerSessionServerError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 Freeze for ServerSessionServerError
impl !RefUnwindSafe for ServerSessionServerError
impl Send for ServerSessionServerError
impl Sync for ServerSessionServerError
impl Unpin for ServerSessionServerError
impl !UnwindSafe for ServerSessionServerError
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