Trait openssl::types::OpenSslTypeRef
[−]
[src]
pub trait OpenSslTypeRef {
type CType;
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self { ... }
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self { ... }
fn as_ptr(&self) -> *mut Self::CType { ... }
}A trait implemented by types which reference borrowed foreign types.
Associated Types
type CType
The raw C type.
Provided Methods
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
ⓘImportant traits for &'a mut R
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
Returns a raw pointer to the wrapped value.
Implementors
impl ForeignTypeRef for Asn1GeneralizedTimeRef type CType = ASN1_GENERALIZEDTIME;impl ForeignTypeRef for Asn1TimeRef type CType = ASN1_TIME;impl ForeignTypeRef for Asn1StringRef type CType = ASN1_STRING;impl ForeignTypeRef for Asn1IntegerRef type CType = ASN1_INTEGER;impl ForeignTypeRef for Asn1BitStringRef type CType = ASN1_BIT_STRING;impl ForeignTypeRef for Asn1ObjectRef type CType = ASN1_OBJECT;impl ForeignTypeRef for BigNumContextRef type CType = BN_CTX;impl ForeignTypeRef for BigNumRef type CType = BIGNUM;impl ForeignTypeRef for CmsContentInfoRef type CType = CMS_ContentInfo;impl ForeignTypeRef for ConfRef type CType = CONF;impl ForeignTypeRef for DhRef type CType = DH;impl ForeignTypeRef for DsaRef type CType = DSA;impl ForeignTypeRef for EcGroupRef type CType = EC_GROUP;impl ForeignTypeRef for EcPointRef type CType = EC_POINT;impl ForeignTypeRef for EcKeyRef type CType = EC_KEY;impl ForeignTypeRef for EcKeyBuilderRef type CType = EC_KEY;impl ForeignTypeRef for OcspBasicResponseRef type CType = OCSP_BASICRESP;impl ForeignTypeRef for OcspCertIdRef type CType = OCSP_CERTID;impl ForeignTypeRef for OcspResponseRef type CType = OCSP_RESPONSE;impl ForeignTypeRef for OcspRequestRef type CType = OCSP_REQUEST;impl ForeignTypeRef for OcspOneReqRef type CType = OCSP_ONEREQ;impl ForeignTypeRef for Pkcs12Ref type CType = PKCS12;impl ForeignTypeRef for PKeyRef type CType = EVP_PKEY;impl ForeignTypeRef for PKeyCtxRef type CType = EVP_PKEY_CTX;impl ForeignTypeRef for RsaRef type CType = RSA;impl ForeignTypeRef for SslContextRef type CType = SSL_CTX;impl ForeignTypeRef for SslCipherRef type CType = SSL_CIPHER;impl ForeignTypeRef for SslSessionRef type CType = SSL_SESSION;impl ForeignTypeRef for SslRef type CType = SSL;impl<T: Stackable> ForeignTypeRef for StackRef<T> type CType = T::StackType;impl ForeignTypeRef for OpensslStringRef type CType = c_char;impl ForeignTypeRef for X509StoreBuilderRef type CType = X509_STORE;impl ForeignTypeRef for X509StoreRef type CType = X509_STORE;impl ForeignTypeRef for X509StoreContextRef type CType = X509_STORE_CTX;impl ForeignTypeRef for X509Ref type CType = X509;impl ForeignTypeRef for X509ExtensionRef type CType = X509_EXTENSION;impl ForeignTypeRef for X509NameRef type CType = X509_NAME;impl ForeignTypeRef for X509NameEntryRef type CType = X509_NAME_ENTRY;impl ForeignTypeRef for X509ReqRef type CType = X509_REQ;impl ForeignTypeRef for GeneralNameRef type CType = GENERAL_NAME;impl ForeignTypeRef for X509AlgorithmRef type CType = X509_ALGOR;