Home
last modified time | relevance | path

Searched refs:Result (Results 1 – 4 of 4) sorted by relevance

/NovaShell/src/shell/command/
H A Dmod.rs15 $func as fn(&Vec<String>) -> Result<(), ExecuteErrorType>,
20 type CommandMap = HashMap<String, fn(&Vec<String>) -> Result<(), ExecuteErrorType>>;
45 let mut insert = |tuple: (String, fn(&Vec<String>) -> Result<(), ExecuteErrorType>)| { in init()
57 pub fn shell_cmd_cd(args: &Vec<String>) -> Result<(), ExecuteErrorType> { in shell_cmd_cd() argument
77 pub fn shell_cmd_exec(args: &Vec<String>) -> Result<(), ExecuteErrorType> { in shell_cmd_exec() argument
149 fn shell_cmd_reboot(args: &Vec<String>) -> Result<(), ExecuteErrorType> { in shell_cmd_reboot() argument
158 fn shell_cmd_free(args: &Vec<String>) -> Result<(), ExecuteErrorType> { in shell_cmd_free() argument
225 fn shell_cmd_help(args: &Vec<String>) -> Result<(), ExecuteErrorType> { in shell_cmd_help() argument
233 fn shell_cmd_export(args: &Vec<String>) -> Result<(), ExecuteErrorType> { in shell_cmd_export() argument
/NovaShell/src/shell/
H A Dthread_manager.rs28 pub fn send(&self, item: S) -> Result<(), SendError<S>> { in send() argument
32 pub fn receiver(&self) -> Result<R, RecvError> { in receiver()
44 pub fn join(&mut self) -> Result<(), ()> { in join() argument
H A Dprinter.rs192 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
/NovaShell/src/
H A Dparser.rs122 fn lexer(input: &str) -> Result<Vec<Token>, ParseError> { in lexer()
174 fn parser(tokens: Vec<Token>) -> Result<Vec<Pipeline>, ParseError> { in parser()
268 pub fn parse(input: &str) -> Result<Vec<Pipeline>, ParseError> { in parse()
368 type CommandMap = HashMap<String, fn(&Vec<String>) -> Result<(), ExecuteErrorType>>;