pub struct ClientSetup {
pub versions: Versions,
pub extensions: Extensions,
}
Expand description
Sent by the client to setup the session.
Fields§
§versions: Versions
The list of supported versions in preferred order.
extensions: Extensions
Extensions.
Trait Implementations§
Source§impl Clone for ClientSetup
impl Clone for ClientSetup
Source§fn clone(&self) -> ClientSetup
fn clone(&self) -> ClientSetup
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 ClientSetup
impl Debug for ClientSetup
Source§impl Decode for ClientSetup
impl Decode for ClientSetup
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 ClientSetup
impl RefUnwindSafe for ClientSetup
impl Send for ClientSetup
impl Sync for ClientSetup
impl Unpin for ClientSetup
impl UnwindSafe for ClientSetup
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