Searched refs:CommandMap (Results 1 – 2 of 2) sorted by relevance
20 type CommandMap = HashMap<String, fn(&Vec<String>) -> Result<(), ExecuteErrorType>>; typedef22 static mut BUILD_IN_CMD: Option<Arc<Mutex<CommandMap>>> = None;38 pub fn map() -> Option<Arc<Mutex<CommandMap>>> { in map()43 BUILD_IN_CMD = Some(Arc::new(Mutex::new(CommandMap::new()))); in init()
368 type CommandMap = HashMap<String, fn(&Vec<String>) -> Result<(), ExecuteErrorType>>; typedef378 pub fn execute(&self, internal_commands: Option<Arc<Mutex<CommandMap>>>) -> Vec<Child> { in execute()