pub async fn create_instance_in_collection(
lifecycle_controller: &LifecycleControllerProxy,
parent: &Moniker,
collection: &Name,
child_name: &LongName,
url: &AbsoluteComponentUrl,
config_overrides: Vec<ConfigOverride>,
child_args: Option<CreateChildArgs>,
) -> Result<(), CreateError>
Expand description
Uses the fuchsia.sys2.LifecycleController
protocol to create a dynamic component instance
with the given moniker
and url
.