Trait openssl::types::OpenSslType [] [src]

pub trait OpenSslType where Self::Ref::CType == Self::CType {
    type CType;
    type Ref: ForeignTypeRef;
    unsafe fn from_ptr(ptr: *mut Self::CType) -> Self;
    fn as_ptr(&self) -> *mut Self::CType;
}

A type implemented by wrappers over foreign types.

Associated Types

The raw C type.

The type representing a reference to this type.

Required Methods

Constructs an instance of this type from its raw type.

Returns a raw pointer to the wrapped value.

Implementors