Module ryan::environment::loader
source · Expand description
The Ryan import system.
Structs
- The default importer for Ryan. This importer will read any file in the system, plus all environment variables, when the module starts with the
env:
prefix. There is the one added restriction thatenv:
modules don’t have access to load regular files. This happens because the working directory for an environment variable is ill-defined. - The resulting loader for the
ImportLoader::filter
method. - An importer that blocks all imports. Use this to make Ryan completely separated from the outside world.
- The error returned by the
NoImport
loader for all modules. - The resulting loader for the
ImportLoader::override
,ImportLoader::block
andImportLoader::override_many
methods. - The resulting loader for the
ImportLoader::with_loader
method. - The resulting loader for the
ImportLoader::with_resolver
method.
Enums
- Errors that can happen while importing a module.
Traits
- The loader trait for Ryan.