pub enum PgWireBackendMessage {
Show 26 variants
SslResponse(SslResponse),
GssEncResponse(GssEncResponse),
Authentication(Authentication),
ParameterStatus(ParameterStatus),
BackendKeyData(BackendKeyData),
NegotiateProtocolVersion(NegotiateProtocolVersion),
ParseComplete(ParseComplete),
CloseComplete(CloseComplete),
BindComplete(BindComplete),
PortalSuspended(PortalSuspended),
CommandComplete(CommandComplete),
EmptyQueryResponse(EmptyQueryResponse),
ReadyForQuery(ReadyForQuery),
ErrorResponse(ErrorResponse),
NoticeResponse(NoticeResponse),
NotificationResponse(NotificationResponse),
ParameterDescription(ParameterDescription),
RowDescription(RowDescription),
DataRow(DataRow),
NoData(NoData),
CopyData(CopyData),
CopyFail(CopyFail),
CopyDone(CopyDone),
CopyInResponse(CopyInResponse),
CopyOutResponse(CopyOutResponse),
CopyBothResponse(CopyBothResponse),
}Expand description
Messages sent from Backend
Variants§
SslResponse(SslResponse)
GssEncResponse(GssEncResponse)
Authentication(Authentication)
ParameterStatus(ParameterStatus)
BackendKeyData(BackendKeyData)
NegotiateProtocolVersion(NegotiateProtocolVersion)
ParseComplete(ParseComplete)
CloseComplete(CloseComplete)
BindComplete(BindComplete)
PortalSuspended(PortalSuspended)
CommandComplete(CommandComplete)
EmptyQueryResponse(EmptyQueryResponse)
ReadyForQuery(ReadyForQuery)
ErrorResponse(ErrorResponse)
NoticeResponse(NoticeResponse)
NotificationResponse(NotificationResponse)
ParameterDescription(ParameterDescription)
RowDescription(RowDescription)
DataRow(DataRow)
NoData(NoData)
CopyData(CopyData)
CopyFail(CopyFail)
CopyDone(CopyDone)
CopyInResponse(CopyInResponse)
CopyOutResponse(CopyOutResponse)
CopyBothResponse(CopyBothResponse)
Implementations§
Source§impl PgWireBackendMessage
impl PgWireBackendMessage
pub fn encode(&self, buf: &mut BytesMut) -> PgWireResult<()>
pub fn decode( buf: &mut BytesMut, ctx: &DecodeContext, ) -> PgWireResult<Option<Self>>
Trait Implementations§
Source§impl Debug for PgWireBackendMessage
impl Debug for PgWireBackendMessage
Auto Trait Implementations§
impl !Freeze for PgWireBackendMessage
impl RefUnwindSafe for PgWireBackendMessage
impl Send for PgWireBackendMessage
impl Sync for PgWireBackendMessage
impl Unpin for PgWireBackendMessage
impl UnwindSafe for PgWireBackendMessage
Blanket Implementations§
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