pub struct NegotiateProtocolVersion<'a> {
pub newest_minor_version: u32,
pub unrecognized_options: Vec<&'a str>,
}Expand description
NegotiateProtocolVersion message - server doesn’t support requested protocol features.
Fields§
§newest_minor_version: u32Newest minor protocol version supported
unrecognized_options: Vec<&'a str>Unrecognized protocol options
Implementations§
Trait Implementations§
Source§impl<'a> Clone for NegotiateProtocolVersion<'a>
impl<'a> Clone for NegotiateProtocolVersion<'a>
Source§fn clone(&self) -> NegotiateProtocolVersion<'a>
fn clone(&self) -> NegotiateProtocolVersion<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for NegotiateProtocolVersion<'a>
impl<'a> RefUnwindSafe for NegotiateProtocolVersion<'a>
impl<'a> Send for NegotiateProtocolVersion<'a>
impl<'a> Sync for NegotiateProtocolVersion<'a>
impl<'a> Unpin for NegotiateProtocolVersion<'a>
impl<'a> UnwindSafe for NegotiateProtocolVersion<'a>
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