/// Initializer used by tests, to override the default fuchsia::sys::Launcher with a mock
/// launcher.
Initializer used by tests, to override the default fuchsia::sys::Launcher with a mock
launcher.
Initializer used by tests to override the default fuchsia :: sys :: Launcher with a mock launcher .
pub fn new_with_sys_launcher(
        realm: fsys2::RealmProxy,
        collection: &str,
        sys_launcher: fsys::LauncherProxy,
    ) -> Self {
        SimpleElementManager {
            realm,
            collection: collection.to_string(),
            sys_launcher: Ok(sys_launcher),
            uncontrolled_elements: vec![],
        }
    }
pub fn new_with_sys_launcher ( realm : fsys2 :: RealmProxy , collection : & str , sys_launcher : fsys :: LauncherProxy , ) -> Self { SimpleElementManager { realm , collection : collection . to_string ( ) , sys_launcher : Ok ( sys_launcher ) , uncontrolled_elements : vec ! [ ] , } }
Initializer used by tests, to override the default fuchsia::sys::Launcher with a mock
launcher.
Initializer used by tests to override the default fuchsia :: sys :: Launcher with a mock launcher .
realm
fsys2::RealmProxy
collection
&str
sys_launcher
fsys::LauncherProxy