aws_lc_sys

Type Alias X509_TRUST

Source
pub type X509_TRUST = x509_trust_st;

Aliased Type§

struct X509_TRUST {
    pub trust: i32,
    pub flags: i32,
    pub check_trust: Option<unsafe extern "C" fn(_: *const x509_trust_st, _: *mut x509_st) -> i32>,
    pub name: *mut i8,
    pub arg1: i32,
    pub arg2: *mut c_void,
}

Fields§

§trust: i32§flags: i32§check_trust: Option<unsafe extern "C" fn(_: *const x509_trust_st, _: *mut x509_st) -> i32>§name: *mut i8§arg1: i32§arg2: *mut c_void

Trait Implementations

Source§

impl Clone for x509_trust_st

Source§

fn clone(&self) -> x509_trust_st

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for x509_trust_st

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for x509_trust_st

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for x509_trust_st

Source§

fn eq(&self, other: &x509_trust_st) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for x509_trust_st

Source§

impl Eq for x509_trust_st

Source§

impl StructuralPartialEq for x509_trust_st