#[non_exhaustive]pub enum SessionErrorKind {
Shutdown,
ErrorObject,
Other,
}
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.
Trait Implementations§
Source§impl Clone for SessionErrorKind
impl Clone for SessionErrorKind
Source§fn clone(&self) -> SessionErrorKind
fn clone(&self) -> SessionErrorKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SessionErrorKind
impl Debug for SessionErrorKind
Source§impl Display for SessionErrorKind
impl Display for SessionErrorKind
Source§impl Hash for SessionErrorKind
impl Hash for SessionErrorKind
Source§impl Ord for SessionErrorKind
impl Ord for SessionErrorKind
Source§fn cmp(&self, other: &SessionErrorKind) -> Ordering
fn cmp(&self, other: &SessionErrorKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SessionErrorKind
impl PartialEq for SessionErrorKind
Source§impl PartialOrd for SessionErrorKind
impl PartialOrd for SessionErrorKind
impl Copy for SessionErrorKind
impl Eq for SessionErrorKind
impl StructuralPartialEq for SessionErrorKind
Auto Trait Implementations§
impl Freeze for SessionErrorKind
impl RefUnwindSafe for SessionErrorKind
impl Send for SessionErrorKind
impl Sync for SessionErrorKind
impl Unpin for SessionErrorKind
impl UnwindSafe for SessionErrorKind
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