Struct openssl::ssl::SslSession []

pub struct SslSession(_);

An encoded SSL session.

These can be cached to share sessions across connections.

Methods from Deref<Target = SslSessionRef>

[src]

Returns the SSL session ID.

This corresponds to SSL_SESSION_get_id.

[src]

Returns the length of the master key.

This corresponds to SSL_SESSION_get_master_key.

[src]

Copies the master key into the provided buffer.

Returns the number of bytes written, or the size of the master key if the buffer is empty.

This corresponds to SSL_SESSION_get_master_key.

Trait Implementations

impl ForeignType for SslSession

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 SslSession

Executes the destructor for this type. Read more

impl Deref for SslSession

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for SslSession

Mutably dereferences the value.

impl Borrow<SslSessionRef> for SslSession

Immutably borrows from an owned value. Read more

impl AsRef<SslSessionRef> for SslSession

Performs the conversion.

impl Sync for SslSession
[src]

impl Send for SslSession
[src]

impl Clone for SslSession
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more