/DragonReach/src/executor/service_executor/ |
H A D | mod.rs | 22 pub fn exec(service: &mut ServiceUnit) -> Result<(), RuntimeError> { in exec() 34 pub fn exec_simple(service: &mut ServiceUnit) -> Result<(), RuntimeError> { in exec_simple() 87 fn exec_dbus(_service: &ServiceUnit) -> Result<(), RuntimeError> { in exec_dbus() 91 fn exec_forking(_service: &ServiceUnit) -> Result<(), RuntimeError> { in exec_forking() 96 fn exec_idle(service: &mut ServiceUnit) -> Result<(), RuntimeError> { in exec_idle() 103 fn exec_notify(_service: &ServiceUnit) -> Result<(), RuntimeError> { in exec_notify() 107 fn exec_one_shot(_service: &ServiceUnit) -> Result<(), RuntimeError> { in exec_one_shot() 111 fn exec_start_pos(service: &ServiceUnit) -> Result<(), RuntimeError> { in exec_start_pos() 119 fn exec_start_pre(service: &ServiceUnit) -> Result<(), RuntimeError> { in exec_start_pre() 128 fn exec_stop(service: &mut ServiceUnit) -> Result<(), RuntimeError> { in exec_stop() [all …]
|
/DragonReach/src/manager/ctl_manager/ |
H A D | mod.rs | 27 pub fn exec_ctl(cmd: Command) -> Result<(), RuntimeError> { in exec_ctl() 106 pub fn list_unit(pattern: Vec<Pattern>) -> Result<(), RuntimeError> { in list_unit() 122 pub fn stop(names: Vec<String>) -> Result<(), RuntimeError> { in stop() 138 pub fn start(names: Vec<String>) -> Result<(), RuntimeError> { in start() 162 pub fn restart(names: Vec<String>, is_try: bool) -> Result<(), RuntimeError> { in restart()
|
/DragonReach/src/executor/ |
H A D | mod.rs | 40 pub fn exec(unit_id: usize) -> Result<(), RuntimeError> { in exec() 79 pub fn exec_(unit_id: usize) -> Result<(), RuntimeError> { in exec_() 141 pub fn restart(id: usize) -> Result<(), RuntimeError> { in restart()
|
/DragonReach/src/task/cmdtask/ |
H A D | mod.rs | 20 pub fn spawn(&self) -> Result<(), RuntimeError> { in spawn() 41 pub fn no_spawn(&self) -> Result<(), RuntimeError> { in no_spawn()
|
/DragonReach/src/unit/target/ |
H A D | mod.rs | 26 fn set_attr(&mut self, _segement: Segment, _attr: &str, _val: &str) -> Result<(), ParseError> { in set_attr() 46 fn run(&mut self) -> Result<(), crate::error::runtime_error::RuntimeError> { in run()
|
/DragonReach/src/unit/timer/ |
H A D | mod.rs | 99 fn restart(&mut self) -> Result<(), RuntimeError> { in restart() 120 fn set_attr(&mut self, segment: Segment, attr: &str, val: &str) -> Result<(), ParseError> { in set_attr() 151 fn run(&mut self) -> Result<(), RuntimeError> { in run() 172 pub fn _run(&mut self) -> Result<(), RuntimeError> { in _run() 432 pub fn set_attr(&mut self, attr: &TimerUnitAttr, val: &str) -> Result<(), ParseError> { in set_attr()
|
/DragonReach/src/time/timer/ |
H A D | mod.rs | 23 callback: Box<dyn FnMut() -> Result<(), RuntimeError> + Send + Sync + 'static>, in new()
|
/DragonReach/src/unit/ |
H A D | mod.rs | 53 fn set_attr(&mut self, segment: Segment, attr: &str, val: &str) -> Result<(), ParseError>; in set_attr() 76 fn run(&mut self) -> Result<(), RuntimeError>; in run() 105 fn restart(&mut self) -> Result<(), RuntimeError> { in restart() 261 ) -> Result<(), ParseError> { in set_unit_part_attr() 269 ) -> Result<(), ParseError> { in set_install_part_attr() 273 pub fn parse_and_set_attribute(&self) -> Result<(), ParseError> { in parse_and_set_attribute() 375 pub fn set_attr(&mut self, attr: &BaseUnitAttr, val: &str) -> Result<(), ParseError> { in set_attr() 535 pub fn set_attr(&mut self, attr: &InstallUnitAttr, val: &str) -> Result<(), ParseError> { in set_attr()
|
/DragonReach/src/unit/service/ |
H A D | mod.rs | 145 fn set_attr(&mut self, segment: Segment, attr: &str, val: &str) -> Result<(), ParseError> { in set_attr() 171 fn run(&mut self) -> Result<(), RuntimeError> { in run() 218 fn restart(&mut self) -> Result<(), RuntimeError> { in restart() 236 fn exec(&mut self) -> Result<(), RuntimeError> { in exec() 294 pub fn set_attr(&'_ mut self, attr: &ServiceUnitAttr, val: &str) -> Result<(), ParseError> { in set_attr()
|
/DragonReach/src/manager/timer_manager/ |
H A D | mod.rs | 43 F: FnMut() -> Result<(), RuntimeError> + Send + Sync + 'static, in push_timer()
|
/DragonReach/src/parse/graph/ |
H A D | mod.rs | 169 ) -> Result<(), ParseError> { in get_node_num()
|