#[repr(transparent)]pub struct QarAppState(pub c_int);Expand description
@deprecated Read qar_peer_spec_get_presence() and QarPeerPresence instead. Every session claims QAR_APP_STATE_RUNNING as soon as it is created, so UNKNOWN, INITIALIZING and RUNNING say nothing beyond “the peer joined”, and a peer is never “fully configured” by this value. Kept, with its values, for applications that already read it; qar_peer_spec_get_app_state() keeps working.
Tuple Fields§
§0: c_intImplementations§
Source§impl QarAppState
impl QarAppState
pub const QAR_APP_STATE_UNKNOWN: QarAppState
pub const QAR_APP_STATE_INITIALIZING: QarAppState
pub const QAR_APP_STATE_RUNNING: QarAppState
pub const QAR_APP_STATE_SHUTTING_DOWN: QarAppState
Sourcepub const QAR_APP_STATE_RETIRED: QarAppState
pub const QAR_APP_STATE_RETIRED: QarAppState
The peer left for good and never comes back under its id.
Trait Implementations§
Source§impl Clone for QarAppState
impl Clone for QarAppState
impl Copy for QarAppState
Source§impl Debug for QarAppState
impl Debug for QarAppState
impl Eq for QarAppState
Source§impl Hash for QarAppState
impl Hash for QarAppState
Source§impl PartialEq for QarAppState
impl PartialEq for QarAppState
impl StructuralPartialEq for QarAppState
Auto Trait Implementations§
impl Freeze for QarAppState
impl RefUnwindSafe for QarAppState
impl Send for QarAppState
impl Sync for QarAppState
impl Unpin for QarAppState
impl UnsafeUnpin for QarAppState
impl UnwindSafe for QarAppState
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