Type Alias s2n_tls_sys::s2n_rand_cleanup_callback

source ·
pub type s2n_rand_cleanup_callback = Option<unsafe extern "C" fn() -> c_int>;
Expand description

A callback function that will be called when s2n_cleanup is executed.

Aliased Type§

enum s2n_rand_cleanup_callback {
    None,
    Some(unsafe extern "C" fn() -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn() -> i32)

Some value of type T.