#[non_exhaustive]pub enum DraftPhase {
Active,
AwaitingDiscoverResult,
}Expand description
The stateless 2026-07-28 lifecycle phase before a given event is processed.
There is no handshake to complete, so the steady state is Active
from the very first event; the only departure is the brief window while a
server/discover probe is in flight.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Active
Operational. Requests may flow immediately — the stateless session has no initialize handshake to complete first (SEP-2575).
AwaitingDiscoverResult
A server/discover request is in flight; its response has not yet been observed.
Trait Implementations§
Source§impl Clone for DraftPhase
impl Clone for DraftPhase
Source§fn clone(&self) -> DraftPhase
fn clone(&self) -> DraftPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DraftPhase
Source§impl Debug for DraftPhase
impl Debug for DraftPhase
impl Eq for DraftPhase
Source§impl PartialEq for DraftPhase
impl PartialEq for DraftPhase
impl StructuralPartialEq for DraftPhase
Auto Trait Implementations§
impl Freeze for DraftPhase
impl RefUnwindSafe for DraftPhase
impl Send for DraftPhase
impl Sync for DraftPhase
impl Unpin for DraftPhase
impl UnsafeUnpin for DraftPhase
impl UnwindSafe for DraftPhase
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