#[repr(C)]pub struct ssl_quic_method_st {
pub set_read_secret: Option<unsafe extern "C" fn(ssl: *mut SSL, level: ssl_encryption_level_t, cipher: *const SSL_CIPHER, secret: *const u8, secret_len: usize) -> c_int>,
pub set_write_secret: Option<unsafe extern "C" fn(ssl: *mut SSL, level: ssl_encryption_level_t, cipher: *const SSL_CIPHER, secret: *const u8, secret_len: usize) -> c_int>,
pub add_handshake_data: Option<unsafe extern "C" fn(ssl: *mut SSL, level: ssl_encryption_level_t, data: *const u8, len: usize) -> c_int>,
pub flush_flight: Option<unsafe extern "C" fn(ssl: *mut SSL) -> c_int>,
pub send_alert: Option<unsafe extern "C" fn(ssl: *mut SSL, level: ssl_encryption_level_t, alert: u8) -> c_int>,
}
Fields§
§set_read_secret: Option<unsafe extern "C" fn(ssl: *mut SSL, level: ssl_encryption_level_t, cipher: *const SSL_CIPHER, secret: *const u8, secret_len: usize) -> c_int>
§set_write_secret: Option<unsafe extern "C" fn(ssl: *mut SSL, level: ssl_encryption_level_t, cipher: *const SSL_CIPHER, secret: *const u8, secret_len: usize) -> c_int>
§add_handshake_data: Option<unsafe extern "C" fn(ssl: *mut SSL, level: ssl_encryption_level_t, data: *const u8, len: usize) -> c_int>
§flush_flight: Option<unsafe extern "C" fn(ssl: *mut SSL) -> c_int>
§send_alert: Option<unsafe extern "C" fn(ssl: *mut SSL, level: ssl_encryption_level_t, alert: u8) -> c_int>
Trait Implementations§
Source§impl Clone for ssl_quic_method_st
impl Clone for ssl_quic_method_st
Source§fn clone(&self) -> ssl_quic_method_st
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ssl_quic_method_st
impl Debug for ssl_quic_method_st
Source§impl Default for ssl_quic_method_st
impl Default for ssl_quic_method_st
Source§fn default() -> ssl_quic_method_st
fn default() -> ssl_quic_method_st
Returns the “default value” for a type. Read more
Source§impl PartialEq for ssl_quic_method_st
impl PartialEq for ssl_quic_method_st
impl Copy for ssl_quic_method_st
impl Eq for ssl_quic_method_st
impl StructuralPartialEq for ssl_quic_method_st
Auto Trait Implementations§
impl Freeze for ssl_quic_method_st
impl RefUnwindSafe for ssl_quic_method_st
impl Send for ssl_quic_method_st
impl Sync for ssl_quic_method_st
impl Unpin for ssl_quic_method_st
impl UnwindSafe for ssl_quic_method_st
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more