pub unsafe trait ExtensionType {
type Output: ForeignType;
const NID: Nid;
}
Expand description
A type of X509 extension.
§Safety
The value of NID and Output must match those in OpenSSL so that
Output::from_ptr_opt(*_get_ext_d2i(*, NID, ...))
is valid.
Required Associated Constants§
Required Associated Types§
type Output: ForeignType
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.