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

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

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.