Type Alias s2n_quic_tls::ffi::s2n_recv_fn
source · pub type s2n_recv_fn = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: u32) -> i32>;
Expand description
Function pointer for a user provided send callback.
Aliased Type§
enum s2n_recv_fn {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: u32) -> i32),
}