Type Alias libbpf_sys::ring_buffer_sample_fn

source ·
pub type ring_buffer_sample_fn = Option<unsafe extern "C" fn(ctx: *mut c_void, data: *mut c_void, size: size_t) -> c_int>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.