pub enum StartupResponse {
AuthenticationOk,
AuthenticationMD5Password {
salt: [u8; 4],
},
SSLResponse(bool),
GSSEncResponse(bool),
ErrorResponse {
code: &'static str,
message: String,
},
ParameterStatus {
key: String,
value: Bytes,
},
BackendKeyData {
process_id: i32,
secret_key: i32,
},
ReadyForQuery,
}Variants§
AuthenticationOk
AuthenticationMD5Password
SSLResponse(bool)
GSSEncResponse(bool)
ErrorResponse
ParameterStatus
BackendKeyData
ReadyForQuery
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for StartupResponse
impl RefUnwindSafe for StartupResponse
impl Send for StartupResponse
impl Sync for StartupResponse
impl Unpin for StartupResponse
impl UnsafeUnpin for StartupResponse
impl UnwindSafe for StartupResponse
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