#[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,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.