Module cnf_lib::environment
source · Expand description
Environment handlers.
This module contains handlers for various environments. Generally a handler is characterized by the presence of the following public functions within its submodule:
detectto find out if this is the current execution environment (where the command wasn’t found)findto see if a certain command exists in this execution environmenthandleto kick off the chain to look a certain command up from inside this environmentexecuteto und a command in this environment
Especially the latter function isn’t
Modules§
- Distrobox Environment Handler.
- Host Environment Handler.
- Toolbx Environment Handler.
Structs§
Enums§
- All the execution environments known to the applicaiton.
- Common errors from command execution.
Traits§
- Trait for usable environments.
Functions§
- Return the current execution environment.
- Preserve the users environments.