pub struct SslFiletype(/* private fields */);
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: i32) -> SslFiletype
pub fn from_raw(raw: i32) -> 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 moreimpl Copy for SslFiletype
Auto Trait Implementations§
impl Freeze for SslFiletype
impl RefUnwindSafe for SslFiletype
impl Send for SslFiletype
impl Sync for SslFiletype
impl Unpin for SslFiletype
impl UnwindSafe for SslFiletype
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more