[]Struct openssl::ssl::SslSession

pub struct SslSession(_);

An encoded SSL session.

These can be cached to share sessions across connections.

Methods

impl SslSession
[src]

Deserializes a DER-encoded session structure.

This corresponds to d2i_SSL_SESSION.

Methods from Deref<Target = SslSessionRef>

Returns the SSL session ID.

This corresponds to SSL_SESSION_get_id.

Returns the length of the master key.

This corresponds to SSL_SESSION_get_master_key.

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.

Serializes the session into a DER-encoded structure.

This corresponds to i2d_SSL_SESSION.

Trait Implementations

impl Clone for SslSession
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for SslSession

Executes the destructor for this type. Read more

impl Sync for SslSession
[src]

impl AsRef<SslSessionRef> for SslSession

Performs the conversion.

impl Send for SslSession
[src]

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

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

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

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

recently added

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

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more