pub enum Message {
Show 36 variants
NotImplemented(Bytes),
Canary(u8),
AuthenticationOk(),
AuthenticationSASL(Bytes),
AuthenticationSASLContinue(Bytes),
AuthenticationSASLFinal(Bytes),
CommandComplete(Bytes),
BackendKeyData {
process: u32,
secret_key: u32,
},
DataRow(Vec<Bytes>),
EmptyQueryResponse(),
ErrorResponse(Bytes),
ParameterStatus {
parameter: Bytes,
value: Bytes,
},
ReadyForQuery(u8),
RowDescription(Vec<RowDescription>),
AuthenticationKerberosV5(Bytes),
AuthenticationCleartextPassword(Bytes),
AuthenticationMD5Password(Bytes),
AuthenticationSCMCredential(Bytes),
AuthenticationGSS(Bytes),
AuthenticationGSSContinue(Bytes),
AuthenticationSSPI(Bytes),
BindComplete(Bytes),
CloseComplete(Bytes),
CopyData(Bytes),
CopyDone(Bytes),
CopyInResponse(Bytes),
CopyOutResponse(Bytes),
CopyBothResponse(Bytes),
FunctionCallResponse(Bytes),
NegotiateProtocolVersion(Bytes),
NoData(),
NoticeResponse(Bytes),
NotificationResponse(Bytes),
ParameterDescription(Bytes),
ParseComplete(),
PortalSuspended(),
}
Expand description
TODO(ppiotr3k): write description
Variants§
NotImplemented(Bytes)
Canary(u8)
AuthenticationOk()
AuthenticationSASL(Bytes)
AuthenticationSASLContinue(Bytes)
AuthenticationSASLFinal(Bytes)
CommandComplete(Bytes)
BackendKeyData
DataRow(Vec<Bytes>)
EmptyQueryResponse()
ErrorResponse(Bytes)
ParameterStatus
ReadyForQuery(u8)
RowDescription(Vec<RowDescription>)
AuthenticationKerberosV5(Bytes)
AuthenticationCleartextPassword(Bytes)
AuthenticationMD5Password(Bytes)
AuthenticationSCMCredential(Bytes)
AuthenticationGSS(Bytes)
AuthenticationGSSContinue(Bytes)
AuthenticationSSPI(Bytes)
BindComplete(Bytes)
CloseComplete(Bytes)
CopyData(Bytes)
CopyDone(Bytes)
CopyInResponse(Bytes)
CopyOutResponse(Bytes)
CopyBothResponse(Bytes)
FunctionCallResponse(Bytes)
NegotiateProtocolVersion(Bytes)
NoData()
NoticeResponse(Bytes)
NotificationResponse(Bytes)
ParameterDescription(Bytes)
ParseComplete()
PortalSuspended()
Trait Implementations§
impl Eq for Message
impl PostgresMessage for Message
impl SQLMessage for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl !Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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