Struct openssl::ssl::SslFiletype
source · 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: 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)