[][src]Trait schannel::RawPointer

pub trait RawPointer {
    unsafe fn from_ptr(t: *mut c_void) -> Self;
unsafe fn as_ptr(&self) -> *mut c_void; }

Allows access to the underlying schannel API representation of a wrapped data type

Performing actions with internal handles might lead to the violation of internal assumptions and therefore is inherently unsafe.

Required methods

unsafe fn from_ptr(t: *mut c_void) -> Self

Constructs an instance of this type from its handle / pointer.

unsafe fn as_ptr(&self) -> *mut c_void

Get a raw pointer from the underlying handle / pointer.

Loading content...

Implementors

impl RawPointer for CertChainContext[src]

impl RawPointer for CertContext[src]

impl RawPointer for CertStore[src]

impl RawPointer for CryptKey[src]

impl RawPointer for CryptProv[src]

impl RawPointer for NcryptKey[src]

Loading content...