aws_lc_sys

Type Alias ASN1_EXTERN_FUNCS

Source
pub type ASN1_EXTERN_FUNCS = ASN1_EXTERN_FUNCS_st;

Aliased Type§

struct ASN1_EXTERN_FUNCS {
    pub app_data: *mut c_void,
    pub asn1_ex_new: Option<unsafe extern "C" fn(_: *mut *mut ASN1_VALUE_st, _: *const ASN1_ITEM_st) -> i32>,
    pub asn1_ex_free: Option<unsafe extern "C" fn(_: *mut *mut ASN1_VALUE_st, _: *const ASN1_ITEM_st)>,
    pub asn1_ex_d2i: Option<unsafe extern "C" fn(_: *mut *mut ASN1_VALUE_st, _: *mut *const u8, _: i64, _: *const ASN1_ITEM_st, _: i32, _: i32, _: i8, _: *mut ASN1_TLC_st) -> i32>,
    pub asn1_ex_i2d: Option<unsafe extern "C" fn(_: *mut *mut ASN1_VALUE_st, _: *mut *mut u8, _: *const ASN1_ITEM_st, _: i32, _: i32) -> i32>,
    pub asn1_ex_print: Option<unsafe extern "C" fn(_: *mut bio_st, _: *mut *mut ASN1_VALUE_st, _: i32, _: *const i8, _: *const asn1_pctx_st) -> i32>,
}

Fields§

§app_data: *mut c_void§asn1_ex_new: Option<unsafe extern "C" fn(_: *mut *mut ASN1_VALUE_st, _: *const ASN1_ITEM_st) -> i32>§asn1_ex_free: Option<unsafe extern "C" fn(_: *mut *mut ASN1_VALUE_st, _: *const ASN1_ITEM_st)>§asn1_ex_d2i: Option<unsafe extern "C" fn(_: *mut *mut ASN1_VALUE_st, _: *mut *const u8, _: i64, _: *const ASN1_ITEM_st, _: i32, _: i32, _: i8, _: *mut ASN1_TLC_st) -> i32>§asn1_ex_i2d: Option<unsafe extern "C" fn(_: *mut *mut ASN1_VALUE_st, _: *mut *mut u8, _: *const ASN1_ITEM_st, _: i32, _: i32) -> i32>§asn1_ex_print: Option<unsafe extern "C" fn(_: *mut bio_st, _: *mut *mut ASN1_VALUE_st, _: i32, _: *const i8, _: *const asn1_pctx_st) -> i32>

Trait Implementations

Source§

impl Clone for ASN1_EXTERN_FUNCS_st

Source§

fn clone(&self) -> ASN1_EXTERN_FUNCS_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 ASN1_EXTERN_FUNCS_st

Source§

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

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

impl Default for ASN1_EXTERN_FUNCS_st

Source§

fn default() -> Self

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

impl PartialEq for ASN1_EXTERN_FUNCS_st

Source§

fn eq(&self, other: &ASN1_EXTERN_FUNCS_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 ASN1_EXTERN_FUNCS_st

Source§

impl Eq for ASN1_EXTERN_FUNCS_st

Source§

impl StructuralPartialEq for ASN1_EXTERN_FUNCS_st