wasmtime_wasi_http::bindings::http::outgoing_handler

Function add_to_linker

Source
pub fn add_to_linker<T, U>(
    linker: &mut Linker<T>,
    get: impl Fn(&mut T) -> &mut U + Send + Sync + Copy + 'static,
) -> Result<()>
where U: Host + Send + Host, T: Send,