Struct openssl::ssl::SslSessionRef []

pub struct SslSessionRef(_);

Reference to SslSession.

Methods

impl SslSessionRef
[src]

Important traits for &'a mut [u8]
[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.

[src]

Serializes the session into a DER-encoded structure.

This corresponds to i2d_SSL_SESSION.

Trait Implementations

impl Borrow<SslSessionRef> for SslSession

Immutably borrows from an owned value. Read more

impl AsRef<SslSessionRef> for SslSession

Performs the conversion.

impl ForeignTypeRef for SslSessionRef

The raw C type.

Important traits for &'a mut W
[src]

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

Important traits for &'a mut W
[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

Auto Trait Implementations

impl Send for SslSessionRef

impl !Sync for SslSessionRef