Struct openssl::ssl::SslSessionRef []

pub struct SslSessionRef(_);

Reference to [SslSession].

Methods

impl SslSessionRef
[src]

[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.

This corresponds to SSL_SESSION_get_master_key.

Trait Implementations

impl ForeignTypeRef for SslSessionRef

The raw C type.

[src]

Constructs a shared instance of this type from its raw type.

[src]

Constructs a mutable reference of this type from its raw type.

[src]

Returns a raw pointer to the wrapped value.

impl ToOwned for SslSessionRef
[src]

[src]

Creates owned data from borrowed data, usually by cloning. Read more

[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more