Trait openssl::types::OpenSslType
[−]
[src]
pub trait OpenSslType: Sized { type CType; type Ref: OpenSslTypeRef<CType=Self::CType>; unsafe fn from_ptr(ptr: *mut Self::CType) -> Self; }
A type implemented by wrappers over OpenSSL types.
This should not be implemented by anything outside of this crate; new methods may be added at any time.
Associated Types
type CType
The raw C type.
type Ref: OpenSslTypeRef<CType=Self::CType>
The type representing a reference to this type.
Required Methods
unsafe fn from_ptr(ptr: *mut Self::CType) -> Self
Constructs an instance of this type from its raw type.
Implementors
impl OpenSslType for Asn1Time
impl OpenSslType for Asn1String
impl OpenSslType for BigNumContext
impl OpenSslType for BigNum
impl OpenSslType for Dh
impl OpenSslType for Dsa
impl OpenSslType for EcGroup
impl OpenSslType for EcPoint
impl OpenSslType for EcKey
impl OpenSslType for Pkcs12
impl OpenSslType for PKey
impl OpenSslType for Rsa
impl OpenSslType for SslContext
impl OpenSslType for SslCipher
impl OpenSslType for Ssl
impl OpenSslType for X509StoreBuilder
impl OpenSslType for X509StoreContext
impl OpenSslType for X509
impl OpenSslType for X509Name
impl OpenSslType for X509NameEntry
impl OpenSslType for X509Req
impl OpenSslType for GeneralName
impl<T: Stackable> OpenSslType for Stack<T>