Skip to main content

add_registry_to_linker

Function add_registry_to_linker 

Source
pub fn add_registry_to_linker(
    linker: &mut Linker,
    ctx: impl AsContextMut,
    registry: impl Registry,
) -> Result<(), Error>
Expand description

Adds the registry to the linker to define the numcodecs:abc/registry interface.

ยงErrors

Errors if adding the registry to the linker fails.