pub struct ClientSetup {
pub versions: Versions,
pub parameters: Parameters,
}Expand description
Sent by the client to setup the session.
Fields§
§versions: VersionsThe list of supported versions in preferred order.
parameters: ParametersExtensions.
Trait Implementations§
Source§impl Clone for ClientSetup
impl Clone for ClientSetup
Source§fn clone(&self) -> ClientSetup
fn clone(&self) -> ClientSetup
Returns a duplicate of the value. Read more
1.0.0§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 Message for ClientSetup
impl Message for ClientSetup
Source§fn decode_msg<R: Buf>(
r: &mut R,
version: IetfVersion,
) -> Result<Self, DecodeError>
fn decode_msg<R: Buf>( r: &mut R, version: IetfVersion, ) -> Result<Self, DecodeError>
Decode a client setup message.
Source§fn encode_msg<W: BufMut>(&self, w: &mut W, version: IetfVersion)
fn encode_msg<W: BufMut>(&self, w: &mut W, version: IetfVersion)
Encode a client setup message.
const ID: u64 = 32u64
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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)