Skip to main content

PROMISES_METHODS

Constant PROMISES_METHODS 

Source
pub const PROMISES_METHODS: &[&str];
Expand description

Method surface of a dns.Resolver instance (wired by the parent via instance_has_method("Resolver", …)). dns/promises surface: the shared sync helpers plus every promise-returning resolver. stdlib::call maps each of the latter to dns’s promise<Cap> fn.