Type Alias s2n_quic::provider::tls::default::ffi::s2n_mem_free_callback

source ·
pub type s2n_mem_free_callback = Option<unsafe extern "C" fn(_: *mut c_void, _: u32) -> i32>;
Expand description

Frees memory allocated by s2n_mem_malloc_callback.

Aliased Type§

enum s2n_mem_free_callback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: u32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: u32) -> i32)

Some value of type T.