pub struct TlsExtSni {}Expand description
TLS Server Name Indication (SNI) handling
Implementations§
Source§impl TlsExtSni
impl TlsExtSni
Sourcepub fn client_hello_cb<P: ExtSniProcessor>(
p: &mut P,
sni_raw: &[u8],
) -> Result<(), TlsExtError>
pub fn client_hello_cb<P: ExtSniProcessor>( p: &mut P, sni_raw: &[u8], ) -> Result<(), TlsExtError>
Check with the provided Processor whether any of the Client Hello provided SNIs matches
Auto Trait Implementations§
impl Freeze for TlsExtSni
impl RefUnwindSafe for TlsExtSni
impl Send for TlsExtSni
impl Sync for TlsExtSni
impl Unpin for TlsExtSni
impl UnwindSafe for TlsExtSni
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