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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.