Struct openssl::ssl::SslFiletype
source · [−]pub struct SslFiletype(_);
Expand description
An identifier of the format of a certificate or key file.
Implementations
sourceimpl 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
sourceimpl Clone for SslFiletype
impl Clone for SslFiletype
sourcefn clone(&self) -> SslFiletype
fn clone(&self) -> SslFiletype
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for SslFiletype
Auto Trait Implementations
impl RefUnwindSafe for SslFiletype
impl Send for SslFiletype
impl Sync for SslFiletype
impl Unpin for SslFiletype
impl UnwindSafe for SslFiletype
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more