Struct rustls::ClientHello
source · [−]pub struct ClientHello<'a> { /* private fields */ }
Expand description
A struct representing the received Client Hello
Implementations
sourceimpl<'a> ClientHello<'a>
impl<'a> ClientHello<'a>
sourcepub fn server_name(&self) -> Option<DNSNameRef<'_>>
pub fn server_name(&self) -> Option<DNSNameRef<'_>>
Get the server name indicator.
Returns None
if the client did not supply a SNI.
sourcepub fn sigschemes(&self) -> &[SignatureScheme]
pub fn sigschemes(&self) -> &[SignatureScheme]
Get the compatible signature schemes.
Returns standard-specified default if the client omitted this extension.
Auto Trait Implementations
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
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more