Struct openssl::ssl::SslContext []

pub struct SslContext(_);

Methods

impl SslContext
[src]

Returns a new extra data index.

Each invocation of this function is guaranteed to return a distinct index.

Methods from Deref<Target = SslContextRef>

Returns the certificate associated with this SslContext, if present.

Requires the v102 or v110 features and OpenSSL 1.0.2 or OpenSSL 1.1.0.

Returns the private key associated with this SslContext, if present.

Requires the v102 or v110 features and OpenSSL 1.0.2 or OpenSSL 1.1.0.

Returns the certificate store used for verification.

Returns a reference to the extra data at the specified index.

Trait Implementations

impl ForeignType for SslContext

The raw C type.

The type representing a reference to this type.

Constructs an instance of this type from its raw type.

Returns a raw pointer to the wrapped value.

impl Drop for SslContext

A method called when the value goes out of scope. Read more

impl Deref for SslContext

The resulting type after dereferencing

The method called to dereference a value

impl DerefMut for SslContext

The method called to mutably dereference a value

impl Send for SslContext
[src]

impl Sync for SslContext
[src]

impl Clone for SslContext
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SslContext
[src]

Formats the value using the given formatter.