#[repr(C)]pub struct X509_PURPOSE {
pub purpose: c_int,
pub trust: c_int,
pub flags: c_int,
pub check_purpose: Option<unsafe extern "C" fn(*const X509_PURPOSE, *const X509, c_int) -> c_int>,
pub name: *mut c_char,
pub sname: *mut c_char,
pub usr_data: *mut c_void,
}
Fields§
§purpose: c_int
§trust: c_int
§flags: c_int
§check_purpose: Option<unsafe extern "C" fn(*const X509_PURPOSE, *const X509, c_int) -> c_int>
§name: *mut c_char
§sname: *mut c_char
§usr_data: *mut c_void
Auto Trait Implementations§
impl Freeze for X509_PURPOSE
impl RefUnwindSafe for X509_PURPOSE
impl !Send for X509_PURPOSE
impl !Sync for X509_PURPOSE
impl Unpin for X509_PURPOSE
impl UnwindSafe for X509_PURPOSE
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes