pub enum RuntimeState {
Show 15 variants
Ready,
FunctionCalling,
Simple,
Building,
BoundBuilding,
AwaitingReady,
CopyIn,
CopyOut,
CopyBoth,
CopyBothClientDone,
CopyBothServerDone,
Draining,
Resetting,
ResetComplete,
Terminated,
}Expand description
Runtime representation of a generated protocol phase.
Variants§
Ready
The Ready phase.
FunctionCalling
The FunctionCalling phase.
Simple
The Simple phase.
Building
The Building phase.
BoundBuilding
The BoundBuilding phase.
AwaitingReady
The AwaitingReady phase.
CopyIn
The CopyIn phase.
CopyOut
The CopyOut phase.
CopyBoth
The CopyBoth phase.
CopyBothClientDone
The CopyBothClientDone phase.
CopyBothServerDone
The CopyBothServerDone phase.
Draining
The Draining phase.
Resetting
The Resetting phase.
ResetComplete
The ResetComplete phase.
Terminated
The Terminated phase.
Trait Implementations§
Source§impl Clone for RuntimeState
impl Clone for RuntimeState
Source§fn clone(&self) -> RuntimeState
fn clone(&self) -> RuntimeState
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 RuntimeState
Source§impl Debug for RuntimeState
impl Debug for RuntimeState
impl Eq for RuntimeState
Source§impl PartialEq for RuntimeState
impl PartialEq for RuntimeState
impl StructuralPartialEq for RuntimeState
Auto Trait Implementations§
impl Freeze for RuntimeState
impl RefUnwindSafe for RuntimeState
impl Send for RuntimeState
impl Sync for RuntimeState
impl Unpin for RuntimeState
impl UnsafeUnpin for RuntimeState
impl UnwindSafe for RuntimeState
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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