pub struct StartupNegotiation {
pub requested_version: ProtocolVersion,
pub negotiated_version: ProtocolVersion,
pub unrecognized_options: Vec<String>,
}Fields§
§requested_version: ProtocolVersion§negotiated_version: ProtocolVersion§unrecognized_options: Vec<String>Implementations§
Source§impl StartupNegotiation
impl StartupNegotiation
pub fn requires_response(&self) -> bool
pub fn response(&self) -> Option<BackendMessage>
Trait Implementations§
Source§impl Clone for StartupNegotiation
impl Clone for StartupNegotiation
Source§fn clone(&self) -> StartupNegotiation
fn clone(&self) -> StartupNegotiation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StartupNegotiation
impl Debug for StartupNegotiation
impl Eq for StartupNegotiation
Source§impl PartialEq for StartupNegotiation
impl PartialEq for StartupNegotiation
impl StructuralPartialEq for StartupNegotiation
Auto Trait Implementations§
impl Freeze for StartupNegotiation
impl RefUnwindSafe for StartupNegotiation
impl Send for StartupNegotiation
impl Sync for StartupNegotiation
impl Unpin for StartupNegotiation
impl UnsafeUnpin for StartupNegotiation
impl UnwindSafe for StartupNegotiation
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