Loading crates/tor-rtcompat/src/impls/native_tls.rs +1 −13 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ use std::{ /// A [`TlsProvider`] that uses `native_tls`. /// /// It supports wrapping any reasonable stream type that implements `AsyncRead` + `AsyncWrite`. #[derive(Default)] #[non_exhaustive] pub struct NativeTlsProvider {} Loading Loading @@ -86,16 +87,3 @@ where } } } impl NativeTlsProvider { /// Construct a new [`NativeTlsProvider`.] pub(crate) fn new() -> Self { NativeTlsProvider {} } } impl Default for NativeTlsProvider { fn default() -> Self { Self::new() } } Loading
crates/tor-rtcompat/src/impls/native_tls.rs +1 −13 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ use std::{ /// A [`TlsProvider`] that uses `native_tls`. /// /// It supports wrapping any reasonable stream type that implements `AsyncRead` + `AsyncWrite`. #[derive(Default)] #[non_exhaustive] pub struct NativeTlsProvider {} Loading Loading @@ -86,16 +87,3 @@ where } } } impl NativeTlsProvider { /// Construct a new [`NativeTlsProvider`.] pub(crate) fn new() -> Self { NativeTlsProvider {} } } impl Default for NativeTlsProvider { fn default() -> Self { Self::new() } }