pub struct TlsConnectorWithAlpn<'c> { /* private fields */ }
Implementations§
Source§impl TlsConnectorWithAlpn<'_>
impl TlsConnectorWithAlpn<'_>
pub fn connect<IO>(self, domain: ServerName<'static>, stream: IO) -> Connect<IO> ⓘ
pub fn connect_with<IO, F>( self, domain: ServerName<'static>, stream: IO, f: F, ) -> Connect<IO> ⓘ
Auto Trait Implementations§
impl<'c> Freeze for TlsConnectorWithAlpn<'c>
impl<'c> !RefUnwindSafe for TlsConnectorWithAlpn<'c>
impl<'c> Send for TlsConnectorWithAlpn<'c>
impl<'c> Sync for TlsConnectorWithAlpn<'c>
impl<'c> Unpin for TlsConnectorWithAlpn<'c>
impl<'c> !UnwindSafe for TlsConnectorWithAlpn<'c>
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