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
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
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 Asn1GeneralizedTimeRefimpl ForeignTypeRef for Asn1TimeRefimpl ForeignTypeRef for Asn1StringRefimpl ForeignTypeRef for Asn1IntegerRefimpl ForeignTypeRef for Asn1BitStringRefimpl ForeignTypeRef for Asn1ObjectRefimpl ForeignTypeRef for BigNumContextRefimpl ForeignTypeRef for BigNumRefimpl ForeignTypeRef for CmsContentInfoRefimpl ForeignTypeRef for ConfRefimpl ForeignTypeRef for DhRefimpl ForeignTypeRef for DsaRefimpl ForeignTypeRef for EcGroupRefimpl ForeignTypeRef for EcPointRefimpl ForeignTypeRef for EcKeyRefimpl ForeignTypeRef for EcKeyBuilderRefimpl ForeignTypeRef for OcspBasicResponseRefimpl ForeignTypeRef for OcspCertIdRefimpl ForeignTypeRef for OcspResponseRefimpl ForeignTypeRef for OcspRequestRefimpl ForeignTypeRef for OcspOneReqRefimpl ForeignTypeRef for Pkcs12Refimpl ForeignTypeRef for PKeyRefimpl ForeignTypeRef for PKeyCtxRefimpl ForeignTypeRef for RsaRefimpl ForeignTypeRef for SslContextRefimpl ForeignTypeRef for SslCipherRefimpl ForeignTypeRef for SslSessionRefimpl ForeignTypeRef for SslRefimpl<T: Stackable> ForeignTypeRef for StackRef<T>impl ForeignTypeRef for OpensslStringRefimpl ForeignTypeRef for X509StoreBuilderRefimpl ForeignTypeRef for X509StoreRefimpl ForeignTypeRef for X509StoreContextRefimpl ForeignTypeRef for X509Refimpl ForeignTypeRef for X509ExtensionRefimpl ForeignTypeRef for X509NameRefimpl ForeignTypeRef for X509NameEntryRefimpl ForeignTypeRef for X509ReqRefimpl ForeignTypeRef for GeneralNameRefimpl ForeignTypeRef for X509AlgorithmRef