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

pub struct SslFiletype(_);

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

Methods

impl SslFiletype
[src]

[src]

Constructs an SslFiletype from a raw OpenSSL value.

[src]

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more