#[repr(transparent)]pub struct QarSessionChangeCause(pub c_int);Expand description
@brief Why the session moved into another session id.
Informational only: the move itself is the same. Treat a value this header does not name as QAR_SESSION_CHANGE_CAUSE_ROTATED.
Tuple Fields§
§0: c_intImplementations§
Source§impl QarSessionChangeCause
impl QarSessionChangeCause
Sourcepub const QAR_SESSION_CHANGE_CAUSE_NONE: QarSessionChangeCause
pub const QAR_SESSION_CHANGE_CAUSE_NONE: QarSessionChangeCause
No move: a state change within the same session.
Sourcepub const QAR_SESSION_CHANGE_CAUSE_ROTATED: QarSessionChangeCause
pub const QAR_SESSION_CHANGE_CAUSE_ROTATED: QarSessionChangeCause
The hub serves a new session of its own: its operator started a new session, a member hub left its primary, or this peer missed the announcement of a join.
Sourcepub const QAR_SESSION_CHANGE_CAUSE_JOINED_PRIMARY: QarSessionChangeCause
pub const QAR_SESSION_CHANGE_CAUSE_JOINED_PRIMARY: QarSessionChangeCause
The hub this app paired with joined another hub as its member; the session moved into that primary hub’s session.
Trait Implementations§
Source§impl Clone for QarSessionChangeCause
impl Clone for QarSessionChangeCause
impl Copy for QarSessionChangeCause
Source§impl Debug for QarSessionChangeCause
impl Debug for QarSessionChangeCause
impl Eq for QarSessionChangeCause
Source§impl Hash for QarSessionChangeCause
impl Hash for QarSessionChangeCause
Source§impl PartialEq for QarSessionChangeCause
impl PartialEq for QarSessionChangeCause
impl StructuralPartialEq for QarSessionChangeCause
Auto Trait Implementations§
impl Freeze for QarSessionChangeCause
impl RefUnwindSafe for QarSessionChangeCause
impl Send for QarSessionChangeCause
impl Sync for QarSessionChangeCause
impl Unpin for QarSessionChangeCause
impl UnsafeUnpin for QarSessionChangeCause
impl UnwindSafe for QarSessionChangeCause
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