pub struct DTLSClientHello<'a> {
pub version: TlsVersion,
pub random: &'a [u8],
pub session_id: Option<&'a [u8]>,
pub cookie: &'a [u8],
pub ciphers: Vec<TlsCipherSuiteID>,
pub comp: Vec<TlsCompressionID>,
pub ext: Option<&'a [u8]>,
}
Fields§
§version: TlsVersion
§random: &'a [u8]
§session_id: Option<&'a [u8]>
§ciphers: Vec<TlsCipherSuiteID>
A list of ciphers supported by client
comp: Vec<TlsCompressionID>
A list of compression methods supported by client
ext: Option<&'a [u8]>
Trait Implementations§
Source§impl<'a> ClientHello<'a> for DTLSClientHello<'a>
impl<'a> ClientHello<'a> for DTLSClientHello<'a>
Source§fn version(&self) -> TlsVersion
fn version(&self) -> TlsVersion
TLS version of message
fn random(&self) -> &'a [u8] ⓘ
fn session_id(&self) -> Option<&'a [u8]>
Source§fn ciphers(&self) -> &Vec<TlsCipherSuiteID>
fn ciphers(&self) -> &Vec<TlsCipherSuiteID>
A list of ciphers supported by client
Source§fn comp(&self) -> &Vec<TlsCompressionID>
fn comp(&self) -> &Vec<TlsCompressionID>
A list of compression methods supported by client
fn ext(&self) -> Option<&'a [u8]>
fn rand_time(&self) -> u32
fn rand_bytes(&self) -> &'a [u8] ⓘ
fn cipher_suites(&self) -> Vec<Option<&'static TlsCipherSuite>>
Source§impl<'a> Debug for DTLSClientHello<'a>
impl<'a> Debug for DTLSClientHello<'a>
Source§impl<'a> PartialEq for DTLSClientHello<'a>
impl<'a> PartialEq for DTLSClientHello<'a>
impl<'a> StructuralPartialEq for DTLSClientHello<'a>
Auto Trait Implementations§
impl<'a> Freeze for DTLSClientHello<'a>
impl<'a> RefUnwindSafe for DTLSClientHello<'a>
impl<'a> Send for DTLSClientHello<'a>
impl<'a> Sync for DTLSClientHello<'a>
impl<'a> Unpin for DTLSClientHello<'a>
impl<'a> UnwindSafe for DTLSClientHello<'a>
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