Skip to main content

ZoneResolverFn

Type Alias ZoneResolverFn 

Source
pub type ZoneResolverFn<'a> = &'a (dyn Fn(&str) -> Option<u32> + Sync);
Expand description

Looks up an interface by name and returns its scope id.

Supplied by the caller, like ResolverFn, and Sync for the same reason. None for a name no interface answers to.