pub struct ServerHello {
pub version: NamedU16,
pub random: [u8; 32],
pub session_id: Vec<u8>,
pub cipher_suite: NamedU16,
pub compression_method: NamedU8,
pub extensions: Vec<ServerExtension>,
}Expand description
TLS ServerHello message fields.
Fields§
§version: NamedU16§random: [u8; 32]§session_id: Vec<u8>§cipher_suite: NamedU16§compression_method: NamedU8§extensions: Vec<ServerExtension>Trait Implementations§
Source§impl Clone for ServerHello
impl Clone for ServerHello
Source§fn clone(&self) -> ServerHello
fn clone(&self) -> ServerHello
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 ServerHello
impl Debug for ServerHello
Source§impl<'de> Deserialize<'de> for ServerHello
impl<'de> Deserialize<'de> for ServerHello
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServerHello
impl RefUnwindSafe for ServerHello
impl Send for ServerHello
impl Sync for ServerHello
impl Unpin for ServerHello
impl UnsafeUnpin for ServerHello
impl UnwindSafe for ServerHello
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