pub struct ServerHello {
pub random: [u8; 32],
pub session_id: Vec<u8>,
pub cipher_suite: u16,
pub compression_method: u8,
pub extensions: Vec<Extension>,
}
Fields§
§random: [u8; 32]
§session_id: Vec<u8>
§cipher_suite: u16
§compression_method: u8
§extensions: Vec<Extension>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerHello
impl RefUnwindSafe for ServerHello
impl Send for ServerHello
impl Sync for ServerHello
impl Unpin 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