Struct rustls_connector::RustlsConnector [−][src]
pub struct RustlsConnector(_);
Expand description
The connector
Implementations
Create a new RustlsConnector using the webpki-roots certs (requires webpki-roots-certs feature enabled)
Create a new RustlsConnector
using the system certs (requires native-certs feature enabled)
Errors
Returns an error if we fail to load the native certs.
Connect to the given host
Errors
Returns a HandshakeError
containing either the current state of the handshake or the
failure when we couldn’t complete the hanshake
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RustlsConnector
impl Send for RustlsConnector
impl Sync for RustlsConnector
impl Unpin for RustlsConnector
impl !UnwindSafe for RustlsConnector
Blanket Implementations
Mutably borrows from an owned value. Read more