aws_lc_sys

Type Alias BIO_METHOD

Source
pub type BIO_METHOD = bio_method_st;

Aliased Type§

struct BIO_METHOD {
    pub type_: i32,
    pub name: *const i8,
    pub bwrite: Option<unsafe extern "C" fn(_: *mut bio_st, _: *const i8, _: i32) -> i32>,
    pub bread: Option<unsafe extern "C" fn(_: *mut bio_st, _: *mut i8, _: i32) -> i32>,
    pub bputs: Option<unsafe extern "C" fn(_: *mut bio_st, _: *const i8) -> i32>,
    pub bgets: Option<unsafe extern "C" fn(_: *mut bio_st, _: *mut i8, _: i32) -> i32>,
    pub ctrl: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: i64, _: *mut c_void) -> i64>,
    pub create: Option<unsafe extern "C" fn(_: *mut bio_st) -> i32>,
    pub destroy: Option<unsafe extern "C" fn(_: *mut bio_st) -> i32>,
    pub callback_ctrl: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: i32) -> i64>) -> i64>,
}

Fields§

§type_: i32§name: *const i8§bwrite: Option<unsafe extern "C" fn(_: *mut bio_st, _: *const i8, _: i32) -> i32>§bread: Option<unsafe extern "C" fn(_: *mut bio_st, _: *mut i8, _: i32) -> i32>§bputs: Option<unsafe extern "C" fn(_: *mut bio_st, _: *const i8) -> i32>§bgets: Option<unsafe extern "C" fn(_: *mut bio_st, _: *mut i8, _: i32) -> i32>§ctrl: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: i64, _: *mut c_void) -> i64>§create: Option<unsafe extern "C" fn(_: *mut bio_st) -> i32>§destroy: Option<unsafe extern "C" fn(_: *mut bio_st) -> i32>§callback_ctrl: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: i32) -> i64>) -> i64>

Trait Implementations

Source§

impl Clone for bio_method_st

Source§

fn clone(&self) -> bio_method_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 bio_method_st

Source§

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

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

impl Default for bio_method_st

Source§

fn default() -> Self

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

impl PartialEq for bio_method_st

Source§

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

Source§

impl Eq for bio_method_st

Source§

impl StructuralPartialEq for bio_method_st