pub enum SessionChangeCause {
None,
Rotated,
JoinedPrimary,
Other(QarSessionChangeCause),
}Expand description
Why the session moved into another session id (QarSessionChangeCause). Informational
only; treat Self::Other as Self::Rotated.
Variants§
None
No move: a state change within the same session.
Rotated
The hub serves a new session of its own.
JoinedPrimary
The hub this app paired with joined another hub as its member.
Other(QarSessionChangeCause)
A value not in the C header.
Trait Implementations§
Source§impl Clone for SessionChangeCause
impl Clone for SessionChangeCause
impl Copy for SessionChangeCause
Source§impl Debug for SessionChangeCause
impl Debug for SessionChangeCause
impl Eq for SessionChangeCause
Source§impl Hash for SessionChangeCause
impl Hash for SessionChangeCause
Source§impl PartialEq for SessionChangeCause
impl PartialEq for SessionChangeCause
impl StructuralPartialEq for SessionChangeCause
Auto Trait Implementations§
impl Freeze for SessionChangeCause
impl RefUnwindSafe for SessionChangeCause
impl Send for SessionChangeCause
impl Sync for SessionChangeCause
impl Unpin for SessionChangeCause
impl UnsafeUnpin for SessionChangeCause
impl UnwindSafe for SessionChangeCause
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