Searched refs:Result (Results 1 – 4 of 4) sorted by relevance
/NovaShell/src/shell/command/ |
H A D | mod.rs | 15 $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 D | thread_manager.rs | 28 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 D | printer.rs | 192 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
|
/NovaShell/src/ |
H A D | parser.rs | 122 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>>;
|