Trait tls_api::TlsConnectorType [−][src]
Similar to TlsConnector
, but it is dynamic, does not require type parameter.
This can be obtained with TlsConnector::TYPE_DYN
.
Required methods
fn builder(&self) -> Result<TlsConnectorBuilderBox>
[src]
Constructor a builder dynamically.
fn implemented(&self) -> bool
[src]
It this connector implemented?
When not implemented, all operations return error.
For example, tls-api-security-framework
is available on Linux,
but all operations result in error, so implemented()
returns false
for that implementation.
fn supports_alpn(&self) -> bool
[src]
Is this implementation ALPN negotation?
fn info(&self) -> ImplInfo
[src]
Implementation version.