pub enum SessionTransactionState {
NotEstablished,
Spawned,
Negotiating,
Ready,
TransactionOpen,
Poisoned,
}Expand description
Bounded reducer state observed for a failed public operation.
Variants§
NotEstablished
No session owner had been established.
Spawned
An exact child exists, but authenticated HELLO negotiation has not begun.
Negotiating
The authenticated endpoints were still negotiating.
Ready
The accepted control reducer was idle and ready.
TransactionOpen
A native capability transaction had begun. Only backends whose batch activation is non-atomic report this state (Linux); macOS and Windows activate atomically and expose no partially-open transaction, so a portable consumer must not depend on observing it on every target.
Poisoned
The session reducer was terminally poisoned.
Trait Implementations§
Source§impl Clone for SessionTransactionState
impl Clone for SessionTransactionState
Source§fn clone(&self) -> SessionTransactionState
fn clone(&self) -> SessionTransactionState
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 SessionTransactionState
Source§impl Debug for SessionTransactionState
impl Debug for SessionTransactionState
impl Eq for SessionTransactionState
Source§impl PartialEq for SessionTransactionState
impl PartialEq for SessionTransactionState
impl StructuralPartialEq for SessionTransactionState
Auto Trait Implementations§
impl Freeze for SessionTransactionState
impl RefUnwindSafe for SessionTransactionState
impl Send for SessionTransactionState
impl Sync for SessionTransactionState
impl Unpin for SessionTransactionState
impl UnsafeUnpin for SessionTransactionState
impl UnwindSafe for SessionTransactionState
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