pub enum RuntimeState {
Auth,
PasswordResponse,
TokenResponse,
TokenChallenge,
SaslInitial,
Sasl,
SaslChallenge,
SaslFinal,
AwaitingAuthOk,
AwaitingStartupReady,
Ready,
Terminated,
}Expand description
Runtime representation of a generated protocol phase.
Variants§
Auth
The Auth phase.
PasswordResponse
The PasswordResponse phase.
TokenResponse
The TokenResponse phase.
TokenChallenge
The TokenChallenge phase.
SaslInitial
The SaslInitial phase.
Sasl
The Sasl phase.
SaslChallenge
The SaslChallenge phase.
SaslFinal
The SaslFinal phase.
AwaitingAuthOk
The AwaitingAuthOk phase.
AwaitingStartupReady
The AwaitingStartupReady phase.
Ready
The Ready 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