pub enum NodeState {
Idle,
Connecting,
EstablishingGroup,
Active,
Resyncing,
Failed,
Closed,
}Expand description
Group node FSM.
Variants§
Idle
Initial state, before any transport is opened.
Connecting
QUIC / TLS handshake in progress.
EstablishingGroup
MLS Welcome / ratchet tree exchange in progress.
Active
Normal operating state.
Resyncing
ERR_EPOCH_MISMATCH (or equivalent) was raised; digest-based resync
is in progress.
Failed
Fatal error; the node MUST NOT transmit application data.
Closed
The node performed a graceful shutdown.
Implementations§
Trait Implementations§
impl Copy for NodeState
impl Eq for NodeState
impl StructuralPartialEq for NodeState
Auto Trait Implementations§
impl Freeze for NodeState
impl RefUnwindSafe for NodeState
impl Send for NodeState
impl Sync for NodeState
impl Unpin for NodeState
impl UnsafeUnpin for NodeState
impl UnwindSafe for NodeState
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