pub struct TlsConnection { /* private fields */ }Implementations§
Source§impl TlsConnection
impl TlsConnection
pub async fn connect( addr: Address, tls_config: Arc<ClientConfig>, opts: ConnectOptions, ) -> Result<TlsConnection>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TlsConnection
impl !RefUnwindSafe for TlsConnection
impl Send for TlsConnection
impl Sync for TlsConnection
impl Unpin for TlsConnection
impl UnsafeUnpin for TlsConnection
impl !UnwindSafe for TlsConnection
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