Type Alias SSL_QUIC_METHOD

Source
pub type SSL_QUIC_METHOD = ssl_quic_method_st;

Aliased Type§

struct SSL_QUIC_METHOD {
    pub set_read_secret: Option<unsafe extern "C" fn(_: *mut ssl_st, _: u32, _: *const ssl_cipher_st, _: *const u8, _: usize) -> i32>,
    pub set_write_secret: Option<unsafe extern "C" fn(_: *mut ssl_st, _: u32, _: *const ssl_cipher_st, _: *const u8, _: usize) -> i32>,
    pub add_handshake_data: Option<unsafe extern "C" fn(_: *mut ssl_st, _: u32, _: *const u8, _: usize) -> i32>,
    pub flush_flight: Option<unsafe extern "C" fn(_: *mut ssl_st) -> i32>,
    pub send_alert: Option<unsafe extern "C" fn(_: *mut ssl_st, _: u32, _: u8) -> i32>,
}

Fields§

§set_read_secret: Option<unsafe extern "C" fn(_: *mut ssl_st, _: u32, _: *const ssl_cipher_st, _: *const u8, _: usize) -> i32>§set_write_secret: Option<unsafe extern "C" fn(_: *mut ssl_st, _: u32, _: *const ssl_cipher_st, _: *const u8, _: usize) -> i32>§add_handshake_data: Option<unsafe extern "C" fn(_: *mut ssl_st, _: u32, _: *const u8, _: usize) -> i32>§flush_flight: Option<unsafe extern "C" fn(_: *mut ssl_st) -> i32>§send_alert: Option<unsafe extern "C" fn(_: *mut ssl_st, _: u32, _: u8) -> i32>

Trait Implementations

Source§

impl Clone for ssl_quic_method_st

Source§

fn clone(&self) -> ssl_quic_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 ssl_quic_method_st

Source§

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

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

impl Copy for ssl_quic_method_st