Searched refs:get_unit_with_name (Results 1 – 3 of 3) sorted by relevance
125 match UnitManager::get_unit_with_name(&name) { in stop()141 match UnitManager::get_unit_with_name(&name) { in start()165 match UnitManager::get_unit_with_name(&name) { in restart()
70 pub fn get_unit_with_name(name: &str) -> Option<Arc<Mutex<dyn Unit>>> { in get_unit_with_name() method
250 let unit = UnitManager::get_unit_with_name(&name).unwrap(); in parse()