Struct openssl::ssl::SslSession
[−]
pub struct SslSession(_);
Methods from Deref<Target = SslSessionRef>
fn id(&self) -> &[u8]
[src]
Returns the SSL session ID.
fn master_key_len(&self) -> usize
[src]
Returns the length of the master key.
fn master_key(&self, buf: &mut [u8]) -> usize
[src]
Copies the master key into the provided buffer.
Returns the number of bytes written.
Trait Implementations
impl ForeignType for SslSession
type CType = SSL_SESSION
The raw C type.
type Ref = SslSessionRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut SSL_SESSION) -> SslSession
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut SSL_SESSION
Returns a raw pointer to the wrapped value.
impl Drop for SslSession
impl Deref for SslSession
type Target = SslSessionRef
The resulting type after dereferencing.
fn deref(&self) -> &SslSessionRef
Dereferences the value.
impl DerefMut for SslSession
fn deref_mut(&mut self) -> &mut SslSessionRef
Mutably dereferences the value.
impl Sync for SslSession
[src]
impl Send for SslSession
[src]
impl Clone for SslSession
[src]
fn clone(&self) -> SslSession
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Borrow<SslSessionRef> for SslSession
[src]
fn borrow(&self) -> &SslSessionRef
[src]
Immutably borrows from an owned value. Read more