Struct openssl::ssl::SslFiletype
source · pub struct SslFiletype(_);
Expand description
An identifier of the format of a certificate or key file.
Implementations§
source§impl SslFiletype
impl SslFiletype
sourcepub const PEM: SslFiletype = _
pub const PEM: SslFiletype = _
The PEM format.
This corresponds to SSL_FILETYPE_PEM
.
sourcepub const ASN1: SslFiletype = _
pub const ASN1: SslFiletype = _
The ASN1 format.
This corresponds to SSL_FILETYPE_ASN1
.
sourcepub fn from_raw(raw: c_int) -> SslFiletype
pub fn from_raw(raw: c_int) -> SslFiletype
Constructs an SslFiletype
from a raw OpenSSL value.
Trait Implementations§
source§impl Clone for SslFiletype
impl Clone for SslFiletype
source§fn clone(&self) -> SslFiletype
fn clone(&self) -> SslFiletype
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more