Struct openssl::ssl::SslFiletype [−][src]
pub struct SslFiletype(_);
An identifier of the format of a certificate or key file.
Methods
impl SslFiletype[src]
impl SslFiletypepub fn from_raw(raw: c_int) -> SslFiletype[src]
pub fn from_raw(raw: c_int) -> SslFiletypeConstructs an SslFiletype from a raw OpenSSL value.
pub fn as_raw(&self) -> c_int[src]
pub fn as_raw(&self) -> c_intReturns 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 SslFiletypeimpl Clone for SslFiletype[src]
impl Clone for SslFiletypefn clone(&self) -> SslFiletype[src]
fn clone(&self) -> SslFiletypeReturns 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 SslFiletypeimpl Sync for SslFiletype
impl Sync for SslFiletype