pub struct ServerSetup {
pub version: Version,
pub extensions: Extensions,
}
Expand description
Sent by the server in response to a client setup.
Fields§
§version: Version
The list of supported versions in preferred order.
extensions: Extensions
Supported extenisions.
Trait Implementations§
Source§impl Clone for ServerSetup
impl Clone for ServerSetup
Source§fn clone(&self) -> ServerSetup
fn clone(&self) -> ServerSetup
Returns a copy 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 moreSource§impl Debug for ServerSetup
impl Debug for ServerSetup
Source§impl Decode for ServerSetup
impl Decode for ServerSetup
fn decode_more<B: Buf>(buf: &mut B, remain: usize) -> Result<Self, DecodeError>
fn decode_cap<B: Buf>(buf: &mut B, remain: usize) -> Result<(), DecodeError>
Auto Trait Implementations§
impl Freeze for ServerSetup
impl RefUnwindSafe for ServerSetup
impl Send for ServerSetup
impl Sync for ServerSetup
impl Unpin for ServerSetup
impl UnwindSafe for ServerSetup
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