Struct boring_sys::ssl_quic_method_st[][src]

#[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

impl Clone for ssl_quic_method_st[src]

impl Copy for ssl_quic_method_st[src]

impl Debug for ssl_quic_method_st[src]

impl Default for ssl_quic_method_st[src]

impl Eq for ssl_quic_method_st[src]

impl PartialEq<ssl_quic_method_st> for ssl_quic_method_st[src]

impl StructuralEq for ssl_quic_method_st[src]

impl StructuralPartialEq for ssl_quic_method_st[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.