pub fn add_to_linker<T, D>(
linker: &mut Linker<T>,
host_getter: fn(&mut T) -> D::Data<'_>,
) -> Result<()>where
D: HostWithStore,
for<'a> D::Data<'a>: Host,
T: 'static,Available on crate features
component-model-async and p2 only.