pub struct ConnectionStateMachine { /* private fields */ }Expand description
Connection startup state machine.
Implementations§
Source§impl ConnectionStateMachine
impl ConnectionStateMachine
Sourcepub fn backend_key(&self) -> Option<&BackendKeyData>
pub fn backend_key(&self) -> Option<&BackendKeyData>
Get the backend key data (for cancellation).
Sourcepub fn take_server_params(&mut self) -> Vec<(String, String)>
pub fn take_server_params(&mut self) -> Vec<(String, String)>
Take server parameters.
Sourcepub fn set_ssl_response(&mut self, response: u8)
pub fn set_ssl_response(&mut self, response: u8)
Set the SSL response byte (called by driver after ReadByte).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnectionStateMachine
impl RefUnwindSafe for ConnectionStateMachine
impl Send for ConnectionStateMachine
impl Sync for ConnectionStateMachine
impl Unpin for ConnectionStateMachine
impl UnwindSafe for ConnectionStateMachine
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