pub enum SessionState {
Establishing(Box<EstablishmentState>),
Round(Box<EndpointMachine>),
FixedPoint(Box<EndpointMachine>),
Failed(MachineError),
Closed(CloseReason),
}Expand description
One owning connected-session semantic state.
Variants§
Establishing(Box<EstablishmentState>)
Round(Box<EndpointMachine>)
FixedPoint(Box<EndpointMachine>)
Failed(MachineError)
Closed(CloseReason)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionState
impl RefUnwindSafe for SessionState
impl Send for SessionState
impl Sync for SessionState
impl Unpin for SessionState
impl UnsafeUnpin for SessionState
impl UnwindSafe for SessionState
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