Modules§
Structs§
- Start
Info - StartInfo is convertible from the FIDL fcrunner::ComponentStartInfo type and performs validation that makes sense for all runners in the process.
Enums§
- Config
Data Error - Errors from parsing a component’s configuration data.
- Start
Info Error - Errors from parsing ComponentStartInfo.
- Start
Info Program Error - An error encountered trying to get entry out of
ComponentStartInfo->program
.
Functions§
- get_
bool - Retrieve value of type bool. Defaults to ‘false’ if key is not found.
- get_
config_ vmo - get_
enum - Retrieve a reference to the enum value corresponding to the key.
- get_
environ - get_
program_ args - Retrieves program.args from ComponentStartInfo and validates them.
- get_
program_ args_ from_ dict - Retrieves
args
from a ComponentStartInfo program dict and validates them. - get_
program_ binary - Retrieves program.binary from ComponentStartInfo and makes sure that path is relative.
- get_
program_ binary_ from_ dict - Retrieves
binary
from a ComponentStartInfo dict and makes sure that path is relative. - get_
program_ string - Retrieve a string from the program dictionary in ComponentStartInfo.
- get_
program_ strvec - Retrieve a StrVec from the program dictionary in ComponentStartInfo. Returns StartInfoProgramError::InvalidStrVec if the value is not a StrVec.
- get_
resolved_ url - Retrieves component URL from start_info or errors out if not found.
- get_
value - Returns a reference to the value corresponding to the key.