Struct openssl::ssl::SslFiletype[][src]

pub struct SslFiletype(_);
[]

An identifier of the format of a certificate or key file.

Methods

impl SslFiletype
[src]
[]

[]

Constructs an SslFiletype from a raw OpenSSL value.

[]

Returns the raw OpenSSL value represented by this type.

PEM: SslFiletype = SslFiletype(ffi::SSL_FILETYPE_PEM)

The PEM format.

This corresponds to SSL_FILETYPE_PEM.

ASN1: SslFiletype = SslFiletype(ffi::SSL_FILETYPE_ASN1)

The ASN1 format.

This corresponds to SSL_FILETYPE_ASN1.

Trait Implementations

impl Copy for SslFiletype
[src]

impl Clone for SslFiletype
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for SslFiletype

impl Sync for SslFiletype