pub enum FrontendMessage {
}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§
Trait Implementations§
Source§impl Clone for FrontendMessage
impl Clone for FrontendMessage
Source§fn clone(&self) -> FrontendMessage
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrontendMessage
impl Debug for FrontendMessage
impl Eq for FrontendMessage
Source§impl PartialEq for FrontendMessage
impl PartialEq for FrontendMessage
impl StructuralPartialEq for FrontendMessage
Auto Trait Implementations§
impl !Freeze for FrontendMessage
impl RefUnwindSafe for FrontendMessage
impl Send for FrontendMessage
impl Sync for FrontendMessage
impl Unpin for FrontendMessage
impl UnsafeUnpin for FrontendMessage
impl UnwindSafe for FrontendMessage
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