evdns_callback_type

Type Alias evdns_callback_type 

Source
pub type evdns_callback_type = Option<unsafe extern "C" fn(result: c_int, type_: c_char, count: c_int, ttl: c_int, addresses: *mut c_void, arg: *mut c_void)>;

Aliased Type§

pub enum evdns_callback_type {
    None,
    Some(unsafe extern "C" fn(i32, i8, i32, i32, *mut c_void, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(i32, i8, i32, i32, *mut c_void, *mut c_void))

Some value of type T.