pub struct ServerHelloInfo {
pub server_random: [u8; 32],
pub cipher_suite: u16,
pub is_tls13: bool,
}Expand description
Parsed fields from a TLS ServerHello handshake message.
Fields§
§server_random: [u8; 32]§cipher_suite: u16§is_tls13: boolTrait Implementations§
Source§impl Clone for ServerHelloInfo
impl Clone for ServerHelloInfo
impl Copy for ServerHelloInfo
Auto Trait Implementations§
impl Forget for ServerHelloInfo
impl Freeze for ServerHelloInfo
impl Move for ServerHelloInfo
impl RefUnwindSafe for ServerHelloInfo
impl Send for ServerHelloInfo
impl Sync for ServerHelloInfo
impl Unpin for ServerHelloInfo
impl UnsafeUnpin for ServerHelloInfo
impl UnwindSafe for ServerHelloInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more