pub enum AppState {
Unknown,
Initializing,
Running,
ShuttingDown,
Retired,
Other(QarAppState),
}Expand description
Lifecycle state of a peer’s application (QarAppState), deprecated in the public header
for the peer presence and computed from it there; see crate::PeerInfo::app_state.
Variants§
Unknown
Initializing
Running
ShuttingDown
Retired
Left for good: never comes back under its id.
Other(QarAppState)
A value not in the C header.
Trait Implementations§
impl Copy for AppState
impl Eq for AppState
impl StructuralPartialEq for AppState
Auto Trait Implementations§
impl Freeze for AppState
impl RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl UnsafeUnpin for AppState
impl UnwindSafe for AppState
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