1 2 3 4 5 6 7 8 9 10
#![cfg(any(feature = "native-tls", feature = "rustls-tls"))] pub mod native_tls_error; pub mod rustls_error; #[cfg(feature = "native-tls")] pub use native_tls_error::TlsError; #[cfg(feature = "rustls")] pub use rustls_error::TlsError;