Function lunatic::net::resolve_timeout
source · pub fn resolve_timeout(
name: &str,
timeout: Duration
) -> Result<SocketAddrIterator, LunaticError>
Expand description
Same as resolve
, but only waits for the duration of timeout to resolve.