Struct openssl::ssl::SslFiletype [−][src]
pub struct SslFiletype(_);
An identifier of the format of a certificate or key file.
Methods
impl SslFiletype
[src]
impl SslFiletype
pub fn from_raw(raw: c_int) -> SslFiletype
[src]
pub fn from_raw(raw: c_int) -> SslFiletype
Constructs an SslFiletype
from a raw OpenSSL value.
pub fn as_raw(&self) -> c_int
[src]
pub fn as_raw(&self) -> c_int
Returns the raw OpenSSL value represented by this type.
pub const PEM: SslFiletype
PEM: SslFiletype = SslFiletype(ffi::SSL_FILETYPE_PEM)
The PEM format.
This corresponds to SSL_FILETYPE_PEM
.
pub const ASN1: SslFiletype
ASN1: SslFiletype = SslFiletype(ffi::SSL_FILETYPE_ASN1)
The ASN1 format.
This corresponds to SSL_FILETYPE_ASN1
.
Trait Implementations
impl Copy for SslFiletype
[src]
impl Copy for SslFiletype
impl Clone for SslFiletype
[src]
impl Clone for SslFiletype
fn clone(&self) -> SslFiletype
[src]
fn clone(&self) -> SslFiletype
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for SslFiletype
impl Send for SslFiletype
impl Sync for SslFiletype
impl Sync for SslFiletype