Searched defs:bool (Results 1 – 6 of 6) sorted by relevance
62 pub fn contains_name(path: &str) -> bool { in contains_name()104 pub fn is_running_unit(id: &usize) -> bool { in is_running_unit()139 pub fn contains_id(id: &usize) -> bool { in contains_id()228 pub fn try_kill_running(id: usize) -> bool { in try_kill_running()
33 pub fn parse_boolean(s: &str) -> Result<bool, ParseError> { in parse_boolean()529 pub fn is_valid_exec_path(path: &str) -> bool { in is_valid_exec_path()538 pub fn is_valid_file(path: &str) -> bool { in is_valid_file()551 fn is_executable_file(path: &Path) -> bool { in is_executable_file()562 fn is_shell_script(path: &Path) -> bool { in is_shell_script()682 pub fn is_dir(path: &str) -> bool { in is_dir()
38 pub fn check(&mut self) -> bool { in check()
116 pub fn is_timer(id: &usize) -> bool { in is_timer()171 pub fn update_next_trigger(unit_id: usize, flag: bool) { in update_next_trigger()
205 pub fn check(&mut self) -> bool { in check()251 pub fn enter_inactive(&mut self) -> bool { in enter_inactive()259 pub fn change_stage(&mut self, flag: bool /*1为启动0为退出 */) { in change_stage()544 disabled: bool, in new()
64 pub fn is_restart(&self, exit_status: &ExitStatus) -> bool { in is_restart()396 pub fn remain_after_exit(&self) -> bool { in remain_after_exit()