Type Definition artichoke_backend::load_path::ExtensionHook[][src]

pub type ExtensionHook = fn(_: &mut Artichoke) -> Result<(), Error>;
Expand description

Function type for extension hooks stored in the virtual filesystem.

This signature is equivalent to the signature for File::require as defined by the artichoke-backend implementation of LoadSources.