pub enum ClientRole {}Expand description
Marker for middleware handling messages sent by a PostgreSQL client.
Trait Implementations§
Source§impl Clone for ClientRole
impl Clone for ClientRole
Source§fn clone(&self) -> ClientRole
fn clone(&self) -> ClientRole
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 ClientRole
Source§impl Debug for ClientRole
impl Debug for ClientRole
impl Eq for ClientRole
Source§impl PartialEq for ClientRole
impl PartialEq for ClientRole
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for Ready
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for Ready
Source§type ProtocolPhase = Ready
type ProtocolPhase = Ready
Generated grammar phase corresponding to the connection typestate.
Source§type Message = ReadyExternalMessage
type Message = ReadyExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerBuilding
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerBuilding
Source§type ProtocolPhase = Building
type ProtocolPhase = Building
Generated grammar phase corresponding to the connection typestate.
Source§type Message = BuildingExternalMessage
type Message = BuildingExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerExtendedError
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerExtendedError
Source§type ProtocolPhase = ExtendedError
type ProtocolPhase = ExtendedError
Generated grammar phase corresponding to the connection typestate.
Source§type Message = ExtendedErrorExternalMessage
type Message = ExtendedErrorExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyIn<CopySimple>
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyIn<CopySimple>
Source§type ProtocolPhase = SimpleCopyIn
type ProtocolPhase = SimpleCopyIn
Generated grammar phase corresponding to the connection typestate.
Source§type Message = SimpleCopyInExternalMessage
type Message = SimpleCopyInExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyIn<CopyExtended>
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyIn<CopyExtended>
Source§type ProtocolPhase = ExtendedCopyIn
type ProtocolPhase = ExtendedCopyIn
Generated grammar phase corresponding to the connection typestate.
Source§type Message = ExtendedCopyInExternalMessage
type Message = ExtendedCopyInExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyBoth<CopySimple, BothOpen>
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyBoth<CopySimple, BothOpen>
Source§type ProtocolPhase = SimpleCopyBoth
type ProtocolPhase = SimpleCopyBoth
Generated grammar phase corresponding to the connection typestate.
Source§type Message = SimpleCopyBothExternalMessage
type Message = SimpleCopyBothExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyBoth<CopySimple, BothServerDone>
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyBoth<CopySimple, BothServerDone>
Source§type ProtocolPhase = SimpleCopyBothServerDone
type ProtocolPhase = SimpleCopyBothServerDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = SimpleCopyBothServerDoneExternalMessage
type Message = SimpleCopyBothServerDoneExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyBoth<CopyExtended, BothOpen>
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyBoth<CopyExtended, BothOpen>
Source§type ProtocolPhase = ExtendedCopyBoth
type ProtocolPhase = ExtendedCopyBoth
Generated grammar phase corresponding to the connection typestate.
Source§type Message = ExtendedCopyBothExternalMessage
type Message = ExtendedCopyBothExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyBoth<CopyExtended, BothServerDone>
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerCopyBoth<CopyExtended, BothServerDone>
Source§type ProtocolPhase = ExtendedCopyBothServerDone
type ProtocolPhase = ExtendedCopyBothServerDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = ExtendedCopyBothServerDoneExternalMessage
type Message = ExtendedCopyBothServerDoneExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerAuth
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerAuth
Source§type ProtocolPhase = Auth
type ProtocolPhase = Auth
Generated grammar phase corresponding to the connection typestate.
Source§type Message = AuthExternalMessage
type Message = AuthExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerPassword
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerPassword
Source§type ProtocolPhase = PasswordResponse
type ProtocolPhase = PasswordResponse
Generated grammar phase corresponding to the connection typestate.
Source§type Message = PasswordResponseExternalMessage
type Message = PasswordResponseExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerSaslInitial
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerSaslInitial
Source§type ProtocolPhase = SaslInitial
type ProtocolPhase = SaslInitial
Generated grammar phase corresponding to the connection typestate.
Source§type Message = SaslInitialExternalMessage
type Message = SaslInitialExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerSaslResponse
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerSaslResponse
Source§type ProtocolPhase = SaslResponse
type ProtocolPhase = SaslResponse
Generated grammar phase corresponding to the connection typestate.
Source§type Message = SaslResponseExternalMessage
type Message = SaslResponseExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerAuthResponse
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerAuthResponse
Source§type ProtocolPhase = TokenResponse
type ProtocolPhase = TokenResponse
Generated grammar phase corresponding to the connection typestate.
Source§type Message = TokenResponseExternalMessage
type Message = TokenResponseExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerStartupReady
impl PhaseAssociation<Inbound, ClientRole, FrontendMessage> for ServerStartupReady
Source§type ProtocolPhase = StartupReady
type ProtocolPhase = StartupReady
Generated grammar phase corresponding to the connection typestate.
Source§type Message = StartupReadyExternalMessage
type Message = StartupReadyExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Inbound, ClientRole, PreStartupMessage> for PreStartup
impl PhaseAssociation<Inbound, ClientRole, PreStartupMessage> for PreStartup
Source§type ProtocolPhase = PreStartup
type ProtocolPhase = PreStartup
Generated grammar phase corresponding to the connection typestate.
Source§type Message = PreStartupExternalMessage
type Message = PreStartupExternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for Ready
impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for Ready
Source§type ProtocolPhase = Ready
type ProtocolPhase = Ready
Generated grammar phase corresponding to the connection typestate.
Source§type Message = ReadyInternalMessage
type Message = ReadyInternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for Building
impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for Building
Source§type ProtocolPhase = Building
type ProtocolPhase = Building
Generated grammar phase corresponding to the connection typestate.
Source§type Message = BuildingInternalMessage
type Message = BuildingInternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for BoundBuilding
impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for BoundBuilding
Source§type ProtocolPhase = BoundBuilding
type ProtocolPhase = BoundBuilding
Generated grammar phase corresponding to the connection typestate.
Source§type Message = BoundBuildingInternalMessage
type Message = BoundBuildingInternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for CopyIn
impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for CopyIn
Source§type ProtocolPhase = CopyIn
type ProtocolPhase = CopyIn
Generated grammar phase corresponding to the connection typestate.
Source§type Message = CopyInInternalMessage
type Message = CopyInInternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for CopyBoth
impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for CopyBoth
Source§type ProtocolPhase = CopyBoth
type ProtocolPhase = CopyBoth
Generated grammar phase corresponding to the connection typestate.
Source§type Message = CopyBothInternalMessage
type Message = CopyBothInternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for CopyBothServerDone
impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for CopyBothServerDone
Source§type ProtocolPhase = CopyBothServerDone
type ProtocolPhase = CopyBothServerDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = CopyBothServerDoneInternalMessage
type Message = CopyBothServerDoneInternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for PasswordResponse
impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for PasswordResponse
Source§type ProtocolPhase = PasswordResponse
type ProtocolPhase = PasswordResponse
Generated grammar phase corresponding to the connection typestate.
Source§type Message = PasswordResponseInternalMessage
type Message = PasswordResponseInternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for TokenResponse
impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for TokenResponse
Source§type ProtocolPhase = TokenResponse
type ProtocolPhase = TokenResponse
Generated grammar phase corresponding to the connection typestate.
Source§type Message = TokenResponseInternalMessage
type Message = TokenResponseInternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for SaslInitial
impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for SaslInitial
Source§type ProtocolPhase = SaslInitial
type ProtocolPhase = SaslInitial
Generated grammar phase corresponding to the connection typestate.
Source§type Message = SaslInitialInternalMessage
type Message = SaslInitialInternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for SaslChallenge
impl PhaseAssociation<Outbound, ClientRole, FrontendMessage> for SaslChallenge
Source§type ProtocolPhase = SaslChallenge
type ProtocolPhase = SaslChallenge
Generated grammar phase corresponding to the connection typestate.
Source§type Message = SaslChallengeInternalMessage
type Message = SaslChallengeInternalMessage
Opaque set of messages legal for this direction, role, and phase.
Source§impl PhaseAssociation<Outbound, ClientRole, PreStartupMessage> for PreStartup
impl PhaseAssociation<Outbound, ClientRole, PreStartupMessage> for PreStartup
Source§type ProtocolPhase = PreStartup
type ProtocolPhase = PreStartup
Generated grammar phase corresponding to the connection typestate.
Source§type Message = PreStartupInternalMessage
type Message = PreStartupInternalMessage
Opaque set of messages legal for this direction, role, and phase.
impl StructuralPartialEq for ClientRole
Auto Trait Implementations§
impl Freeze for ClientRole
impl RefUnwindSafe for ClientRole
impl Send for ClientRole
impl Sync for ClientRole
impl Unpin for ClientRole
impl UnsafeUnpin for ClientRole
impl UnwindSafe for ClientRole
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