[−][src]Enum pg_wire::FrontendMessage
Frontend PostgreSQL Wire Protocol messages see Protocol Flow PostgreSQL documentation section
Variants
Client requested GSSENC Request
Client requested SSL connection
Connection setup message
Execute the specified SQL.
This is issued as part of the simple query flow.
Fields of Query
sql: String
The SQL to execute.
Parse the specified SQL into a prepared statement.
This starts the extended query flow.
Fields of Parse
Describe an existing prepared statement.
This command is part of the extended query flow.
Fields of DescribeStatement
name: String
The name of the prepared statement to describe.
Describe an existing portal.
This command is part of the extended query flow.
Fields of DescribePortal
name: String
The name of the portal to describe.
Bind an existing prepared statement to a portal.
This command is part of the extended query flow.
Fields of Bind
portal_name: String
The destination portal. An empty string selects the unnamed
portal. The portal can later be executed with the Execute
command.
statement_name: String
The source prepared statement. An empty string selects the unnamed prepared statement.
param_formats: Vec<PgFormat>
The formats used to encode the parameters.
raw_params: Vec<Option<Vec<u8>>>
The value of each parameter.
result_formats: Vec<PgFormat>
The desired formats for the columns in the result set.
Execute a bound portal.
This command is part of the extended query flow.
Fields of Execute
Flush any pending output.
This command is part of the extended query flow.
Finish an extended query.
This command is part of the extended query flow.
Close the named statement.
This command is part of the extended query flow.
Fields of CloseStatement
name: String
The name of the prepared statement to close.
Close the named portal.
This command is part of the extended query flow.
Fields of ClosePortal
name: String
The name of the portal to close.
Terminate a connection.
Implementations
impl FrontendMessage
[src]
Trait Implementations
impl Debug for FrontendMessage
[src]
impl PartialEq<FrontendMessage> for FrontendMessage
[src]
fn eq(&self, other: &FrontendMessage) -> bool
[src]
fn ne(&self, other: &FrontendMessage) -> bool
[src]
impl StructuralPartialEq for FrontendMessage
[src]
Auto Trait Implementations
impl RefUnwindSafe for FrontendMessage
impl Send for FrontendMessage
impl Sync for FrontendMessage
impl Unpin for FrontendMessage
impl UnwindSafe for FrontendMessage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,