pub type ares_host_callback = Option<unsafe extern "C" fn(arg: *mut c_void, status: c_int, timeouts: c_int, hostent: *mut hostent)>;

Aliased Type§

enum ares_host_callback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: i32, _: i32, _: *mut hostent)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: i32, _: i32, _: *mut hostent))

Some value of type T.