pub struct X509PurposeId(/* private fields */);
Implementations§
Source§impl X509PurposeId
impl X509PurposeId
pub const SSL_CLIENT: X509PurposeId = _
pub const SSL_SERVER: X509PurposeId = _
pub const NS_SSL_SERVER: X509PurposeId = _
pub const SMIME_SIGN: X509PurposeId = _
pub const SMIME_ENCRYPT: X509PurposeId = _
pub const CRL_SIGN: X509PurposeId = _
pub const ANY: X509PurposeId = _
pub const OCSP_HELPER: X509PurposeId = _
pub const TIMESTAMP_SIGN: X509PurposeId = _
pub const CODE_SIGN: X509PurposeId = _
Sourcepub fn from_raw(id: i32) -> X509PurposeId
pub fn from_raw(id: i32) -> X509PurposeId
Constructs an X509PurposeId
from a raw OpenSSL value.
Trait Implementations§
Source§impl Clone for X509PurposeId
impl Clone for X509PurposeId
Source§fn clone(&self) -> X509PurposeId
fn clone(&self) -> X509PurposeId
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 moreSource§impl PartialEq for X509PurposeId
impl PartialEq for X509PurposeId
impl Copy for X509PurposeId
impl Eq for X509PurposeId
impl StructuralPartialEq for X509PurposeId
Auto Trait Implementations§
impl Freeze for X509PurposeId
impl RefUnwindSafe for X509PurposeId
impl Send for X509PurposeId
impl Sync for X509PurposeId
impl Unpin for X509PurposeId
impl UnwindSafe for X509PurposeId
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§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
)