pub enum LookupOutcome {
NotApplicable,
Missing {
path: PathBuf,
},
FailedToLoad {
path: PathBuf,
message: String,
},
InvalidInstanceName {
name: String,
},
UnknownInstance {
name: String,
},
InstanceRuntimeNotLoadable {
name: String,
path: PathBuf,
message: Option<String>,
},
}Expand description
What the lookup met at one place.
Variants§
NotApplicable
Nothing to look at: no runtime loaded, the binding’s folder unknown, QAR_INSTANCE unset
(or not read, outside Windows), QAROS not installed, or no runtime in any folder on
PATH.
Missing
The runtime file is not at this path.
FailedToLoad
The runtime file is there but failed to load.
InvalidInstanceName
QAR_INSTANCE is set to something that is not an instance name (see
is_valid_instance_name). No runtime is loaded.
UnknownInstance
QAR_INSTANCE names an instance without a runtime folder: for default, QAROS is not
installed; for any other name, its per-user record holds neither a fully qualified
RuntimeFolder nor a fully qualified InstallFolder. No other runtime is loaded.
InstanceRuntimeNotLoadable
QAR_INSTANCE names an instance whose runtime folder holds no loadable runtime. No other
runtime is loaded.