Skip to main content

FrontendMessage

Enum FrontendMessage 

Source
pub enum FrontendMessage {
Show 14 variants Parse(Parse), Bind(Bind), Describe(Describe), Close(Close), Execute(Execute), FunctionCall(FunctionCall), Query(Bytes), Flush, Sync, Terminate, CopyData(Bytes), CopyDone, CopyFail(Bytes), PasswordResponse(Bytes),
}
Expand description

Frontend messages whose contents a rewriting proxy must retain structurally.

Variants§

§

Parse(Parse)

Defines a prepared statement and its parameter OIDs.

§

Bind(Bind)

Binds parameters and result formats to a portal.

§

Describe(Describe)

Requests metadata for a statement or portal.

§

Close(Close)

Closes a statement or portal.

§

Execute(Execute)

Executes a bound portal.

§

FunctionCall(FunctionCall)

Invokes the deprecated function-call protocol.

§

Query(Bytes)

Executes one or more SQL statements through the simple-query protocol.

§

Flush

Requests that buffered backend responses be flushed.

§

Sync

Ends an extended-query pipeline and restores error recovery.

§

Terminate

Gracefully closes the frontend session.

§

CopyData(Bytes)

Carries COPY or replication data.

§

CopyDone

Signals successful completion of a COPY input stream.

§

CopyFail(Bytes)

Aborts a COPY input stream with a diagnostic message.

§

PasswordResponse(Bytes)

Context determines whether this is password, GSS, or a SASL response.

Implementations§

Source§

impl FrontendMessage

Source

pub fn to_frame(&self) -> Result<Frame>

Reconstructs a frontend frame after inspection or modification.

§Errors

Returns an error when a structured message contains invalid values.

Trait Implementations§

Source§

impl AcceptsMessage<FrontendMessage> for RuntimeState

Source§

fn accepts(&self, message: &FrontendMessage) -> bool

Reports whether message is legal without advancing this state.
Source§

impl AcceptsMessage<FrontendMessage> for RuntimeState

Source§

fn accepts(&self, message: &FrontendMessage) -> bool

Reports whether message is legal without advancing this state.
Source§

impl AcceptsMessage<FrontendMessage> for RuntimeState

Source§

fn accepts(&self, message: &FrontendMessage) -> bool

Reports whether message is legal without advancing this state.
Source§

impl AcceptsMessage<FrontendMessage> for RuntimeState

Source§

fn accepts(&self, message: &FrontendMessage) -> bool

Reports whether message is legal without advancing this state.
Source§

impl AsRef<FrontendMessage> for ReadyInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for FunctionCallingInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for BuildingInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for BoundBuildingInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for AwaitingReadyInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for CopyInInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for CopyOutInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for CopyBothInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for CopyBothClientDoneInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for CopyBothServerDoneInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for DrainingInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ResettingInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ResetCompleteInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for TerminatedInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for AuthInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for PasswordResponseInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for TokenResponseInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for TokenChallengeInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SaslInitialInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SaslInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SaslChallengeInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SaslFinalInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for AwaitingAuthOkInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for AwaitingStartupReadyInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ReadyInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for TerminatedInternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ReadyExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleErrorExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for BuildingExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ParseResponseExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for BindResponseExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for DescribeResponseExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExecuteResponseExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for CloseResponseExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedErrorExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SyncResponseExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for FunctionResponseExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for FunctionReadyExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyInExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyInDoneExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyInFailedExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyOutExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyOutDoneExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyReadyExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedCopyInExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedCopyInDoneExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedCopyInFailedExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedCopyOutExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedCopyOutDoneExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyBothExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyBothClientDoneExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyBothServerDoneExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyBothDoneExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SimpleCopyBothFailedExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedCopyBothExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedCopyBothClientDoneExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedCopyBothServerDoneExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedCopyBothDoneExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ExtendedCopyBothFailedExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for TerminatedExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for StartupExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for AuthExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for PasswordResponseExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SaslInitialExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SaslExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for SaslResponseExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for TokenResponseExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for TokenPolicyExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for StartupReadyExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for ReadyExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<FrontendMessage> for TerminatedExternalMessage

Source§

fn as_ref(&self) -> &FrontendMessage

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for FrontendMessage

Source§

fn clone(&self) -> FrontendMessage

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FrontendMessage

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for FrontendMessage

Source§

impl From<AuthExternalMessage> for FrontendMessage

Source§

fn from(message: AuthExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<AuthInternalMessage> for FrontendMessage

Source§

fn from(message: AuthInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<AwaitingAuthOkInternalMessage> for FrontendMessage

Source§

fn from(message: AwaitingAuthOkInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<AwaitingReadyInternalMessage> for FrontendMessage

Source§

fn from(message: AwaitingReadyInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<AwaitingStartupReadyInternalMessage> for FrontendMessage

Source§

fn from(message: AwaitingStartupReadyInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<BindResponseExternalMessage> for FrontendMessage

Source§

fn from(message: BindResponseExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<BoundBuildingInternalMessage> for FrontendMessage

Source§

fn from(message: BoundBuildingInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<BuildingExternalMessage> for FrontendMessage

Source§

fn from(message: BuildingExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<BuildingInternalMessage> for FrontendMessage

Source§

fn from(message: BuildingInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<CloseResponseExternalMessage> for FrontendMessage

Source§

fn from(message: CloseResponseExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<CopyBothClientDoneInternalMessage> for FrontendMessage

Source§

fn from(message: CopyBothClientDoneInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<CopyBothInternalMessage> for FrontendMessage

Source§

fn from(message: CopyBothInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<CopyBothServerDoneInternalMessage> for FrontendMessage

Source§

fn from(message: CopyBothServerDoneInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<CopyInInternalMessage> for FrontendMessage

Source§

fn from(message: CopyInInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<CopyOutInternalMessage> for FrontendMessage

Source§

fn from(message: CopyOutInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeResponseExternalMessage> for FrontendMessage

Source§

fn from(message: DescribeResponseExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<DrainingInternalMessage> for FrontendMessage

Source§

fn from(message: DrainingInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExecuteResponseExternalMessage> for FrontendMessage

Source§

fn from(message: ExecuteResponseExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedCopyBothClientDoneExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedCopyBothClientDoneExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedCopyBothDoneExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedCopyBothDoneExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedCopyBothExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedCopyBothExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedCopyBothFailedExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedCopyBothFailedExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedCopyBothServerDoneExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedCopyBothServerDoneExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedCopyInDoneExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedCopyInDoneExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedCopyInExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedCopyInExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedCopyInFailedExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedCopyInFailedExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedCopyOutDoneExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedCopyOutDoneExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedCopyOutExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedCopyOutExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ExtendedErrorExternalMessage> for FrontendMessage

Source§

fn from(message: ExtendedErrorExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<FunctionCallingInternalMessage> for FrontendMessage

Source§

fn from(message: FunctionCallingInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<FunctionReadyExternalMessage> for FrontendMessage

Source§

fn from(message: FunctionReadyExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<FunctionResponseExternalMessage> for FrontendMessage

Source§

fn from(message: FunctionResponseExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ParseResponseExternalMessage> for FrontendMessage

Source§

fn from(message: ParseResponseExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<PasswordResponseExternalMessage> for FrontendMessage

Source§

fn from(message: PasswordResponseExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<PasswordResponseInternalMessage> for FrontendMessage

Source§

fn from(message: PasswordResponseInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ReadyExternalMessage> for FrontendMessage

Source§

fn from(message: ReadyExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ReadyExternalMessage> for FrontendMessage

Source§

fn from(message: ReadyExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ReadyInternalMessage> for FrontendMessage

Source§

fn from(message: ReadyInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ReadyInternalMessage> for FrontendMessage

Source§

fn from(message: ReadyInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ResetCompleteInternalMessage> for FrontendMessage

Source§

fn from(message: ResetCompleteInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<ResettingInternalMessage> for FrontendMessage

Source§

fn from(message: ResettingInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SaslChallengeInternalMessage> for FrontendMessage

Source§

fn from(message: SaslChallengeInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SaslExternalMessage> for FrontendMessage

Source§

fn from(message: SaslExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SaslFinalInternalMessage> for FrontendMessage

Source§

fn from(message: SaslFinalInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SaslInitialExternalMessage> for FrontendMessage

Source§

fn from(message: SaslInitialExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SaslInitialInternalMessage> for FrontendMessage

Source§

fn from(message: SaslInitialInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SaslInternalMessage> for FrontendMessage

Source§

fn from(message: SaslInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SaslResponseExternalMessage> for FrontendMessage

Source§

fn from(message: SaslResponseExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyBothClientDoneExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyBothClientDoneExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyBothDoneExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyBothDoneExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyBothExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyBothExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyBothFailedExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyBothFailedExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyBothServerDoneExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyBothServerDoneExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyInDoneExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyInDoneExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyInExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyInExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyInFailedExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyInFailedExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyOutDoneExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyOutDoneExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyOutExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyOutExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleCopyReadyExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleCopyReadyExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleErrorExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleErrorExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleExternalMessage> for FrontendMessage

Source§

fn from(message: SimpleExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleInternalMessage> for FrontendMessage

Source§

fn from(message: SimpleInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<StartupExternalMessage> for FrontendMessage

Source§

fn from(message: StartupExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<StartupReadyExternalMessage> for FrontendMessage

Source§

fn from(message: StartupReadyExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<SyncResponseExternalMessage> for FrontendMessage

Source§

fn from(message: SyncResponseExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<TerminatedExternalMessage> for FrontendMessage

Source§

fn from(message: TerminatedExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<TerminatedExternalMessage> for FrontendMessage

Source§

fn from(message: TerminatedExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<TerminatedInternalMessage> for FrontendMessage

Source§

fn from(message: TerminatedInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<TerminatedInternalMessage> for FrontendMessage

Source§

fn from(message: TerminatedInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<TokenChallengeInternalMessage> for FrontendMessage

Source§

fn from(message: TokenChallengeInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<TokenPolicyExternalMessage> for FrontendMessage

Source§

fn from(message: TokenPolicyExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<TokenResponseExternalMessage> for FrontendMessage

Source§

fn from(message: TokenResponseExternalMessage) -> Self

Converts to this type from the input type.
Source§

impl From<TokenResponseInternalMessage> for FrontendMessage

Source§

fn from(message: TokenResponseInternalMessage) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for FrontendMessage

Source§

fn eq(&self, other: &FrontendMessage) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl ReconstructableMessage for FrontendMessage

Source§

fn is_reconstructable(&self) -> bool

Reports whether this typed value can be encoded on the wire.
Source§

impl StructuralPartialEq for FrontendMessage

Source§

impl TryFrom<FrontendMessage> for ReadyInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for FunctionCallingInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for BuildingInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for BoundBuildingInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for AwaitingReadyInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for CopyInInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for CopyOutInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for CopyBothInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for CopyBothClientDoneInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for CopyBothServerDoneInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for DrainingInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ResettingInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ResetCompleteInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for TerminatedInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for AuthInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for PasswordResponseInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for TokenResponseInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for TokenChallengeInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SaslInitialInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SaslInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SaslChallengeInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SaslFinalInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for AwaitingAuthOkInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for AwaitingStartupReadyInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ReadyInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for TerminatedInternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ReadyExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleErrorExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for BuildingExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ParseResponseExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for BindResponseExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for DescribeResponseExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExecuteResponseExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for CloseResponseExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedErrorExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SyncResponseExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for FunctionResponseExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for FunctionReadyExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyInExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyInDoneExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyInFailedExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyOutExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyOutDoneExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyReadyExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedCopyInExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedCopyInDoneExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedCopyInFailedExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedCopyOutExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedCopyOutDoneExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyBothExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyBothClientDoneExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyBothServerDoneExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyBothDoneExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SimpleCopyBothFailedExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedCopyBothExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedCopyBothClientDoneExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedCopyBothServerDoneExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedCopyBothDoneExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ExtendedCopyBothFailedExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for TerminatedExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for StartupExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for AuthExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for PasswordResponseExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SaslInitialExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SaslExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for SaslResponseExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for TokenResponseExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for TokenPolicyExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for StartupReadyExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for ReadyExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TryFrom<FrontendMessage> for TerminatedExternalMessage

Source§

type Error = FrontendMessage

The type returned in the event of a conversion error.
Source§

fn try_from(message: FrontendMessage) -> Result<Self, FrontendMessage>

Performs the conversion.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for Ready

Source§

type ProtocolPhase = Ready

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = ReadyExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerAuth

Source§

type ProtocolPhase = Auth

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = AuthExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerPassword

Source§

type ProtocolPhase = PasswordResponse

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = PasswordResponseExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerSaslInitial

Source§

type ProtocolPhase = SaslInitial

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = SaslInitialExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerSasl

Source§

type ProtocolPhase = SaslResponse

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = SaslResponseExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerAuthResponse

Source§

type ProtocolPhase = TokenResponse

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = TokenResponseExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerStartupReady

Source§

type ProtocolPhase = StartupReady

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = StartupReadyExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerBuilding

Source§

type ProtocolPhase = Building

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = BuildingExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerExtendedError

Source§

type ProtocolPhase = ExtendedError

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = ExtendedErrorExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyIn<CopySimple>

Source§

type ProtocolPhase = SimpleCopyIn

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = SimpleCopyInExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyIn<CopyExtended>

Source§

type ProtocolPhase = ExtendedCopyIn

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = ExtendedCopyInExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopySimple, BothOpen>

Source§

type ProtocolPhase = SimpleCopyBoth

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = SimpleCopyBothExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopyExtended, BothOpen>

Source§

type ProtocolPhase = ExtendedCopyBoth

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = ExtendedCopyBothExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopySimple, BothServerDone>

Source§

type ProtocolPhase = SimpleCopyBothServerDone

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = SimpleCopyBothServerDoneExternalMessage

Opaque set of decoded messages legal for this role and phase.
Source§

impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopyExtended, BothServerDone>

Source§

type ProtocolPhase = ExtendedCopyBothServerDone

Generated grammar phase corresponding to the connection typestate.
Source§

type Message = ExtendedCopyBothServerDoneExternalMessage

Opaque set of decoded messages legal for this role and phase.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

Source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

Source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

Source§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<Handler> MessageMiddlewareExt for Handler

Source§

fn then<Next>(self, next: Next) -> Then<Self, Next>

Runs this value followed by next whenever both implement middleware for the intercepted message and state types.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.