Enum pgwire::message::BackendMessage [−][src]
pub enum BackendMessage {
Show 19 variants
AuthenticationOk,
CommandComplete {
tag: String,
},
EmptyQueryResponse,
ReadyForQuery(TransactionStatus),
RowDescription(Vec<FieldDescription>),
DataRow(Vec<Option<Value>>),
ParameterStatus(&'static str, String),
BackendKeyData {
conn_id: u32,
secret_key: u32,
},
ParameterDescription(Vec<Type>),
PortalSuspended,
NoData,
ParseComplete,
BindComplete,
CloseComplete,
ErrorResponse(ErrorResponse),
CopyInResponse {
overall_format: Format,
column_formats: Vec<Format>,
},
CopyOutResponse {
overall_format: Format,
column_formats: Vec<Format>,
},
CopyData(Vec<u8>),
CopyDone,
}
Expand description
Internal representation of a backend message
Variants
AuthenticationOk
CommandComplete
Fields
tag: String
EmptyQueryResponse
ReadyForQuery(TransactionStatus)
Tuple Fields
RowDescription(Vec<FieldDescription>)
Tuple Fields
0: Vec<FieldDescription>
DataRow(Vec<Option<Value>>)
ParameterStatus(&'static str, String)
BackendKeyData
ParameterDescription(Vec<Type>)
PortalSuspended
NoData
ParseComplete
BindComplete
CloseComplete
ErrorResponse(ErrorResponse)
Tuple Fields
CopyInResponse
CopyOutResponse
CopyData(Vec<u8>)
CopyDone
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BackendMessage
impl Send for BackendMessage
impl Sync for BackendMessage
impl Unpin for BackendMessage
impl UnwindSafe for BackendMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more