pub struct ClientHello<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ClientHello<'a>
impl<'a> ClientHello<'a>
pub fn new( server_name: Option<DnsName>, signature_schemes: &'a [SignatureScheme], alpn: Option<&'a Vec<PayloadU8>>, cipher_suites: &'a [CipherSuite], ) -> Self
pub fn server_name(&self) -> Option<&str>
pub fn signature_schemes(&self) -> &[SignatureScheme]
pub fn alpn(&self) -> Option<impl Iterator<Item = &'a [u8]>>
pub fn cipher_suites(&self) -> &[CipherSuite]
Auto Trait Implementations§
impl<'a> Freeze for ClientHello<'a>
impl<'a> RefUnwindSafe for ClientHello<'a>
impl<'a> Send for ClientHello<'a>
impl<'a> Sync for ClientHello<'a>
impl<'a> Unpin for ClientHello<'a>
impl<'a> UnwindSafe for ClientHello<'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