Skip to main content

add_named_to_linker_with_options_async

Function add_named_to_linker_with_options_async 

Source
pub fn add_named_to_linker_with_options_async<T>(
    linker: &mut Linker<T>,
    options: &LinkOptions,
    component: &Component,
    lookup: impl FnMut(Interface, &str) -> Result<NamedId>,
) -> Result<()>
Available on crate feature p2 only.
Expand description

Same as add_named_to_linker_async except bindings::LinkOptions can be specified to configure interfaces that are added.