// Wraps |execute_arc_command| to register it to crosh dispatcher. This facilitates testing.
Wraps |execute_arc_command| to register it to crosh dispatcher. This facilitates testing.
Wraps |execute_arc_command| to register it to crosh dispatcher . This facilitates testing .
fn arc_command_callback(_cmd: &Command, _args: &Arguments) -> Result<(), dispatcher::Error> {
    // Convert the slice of String to a vec of str for pattern matching.
    let args: Vec<&str> = _args.get_args().iter().map(String::as_str).collect();
    execute_arc_command(&args, &run_adb_command)
}
fn arc_command_callback ( _cmd : & Command , _args : & Arguments ) -> Result < ( ) , dispatcher :: Error > { // Convert the slice of String to a vec of str for pattern matching. let args : Vec < & str > = _args . get_args ( ) . iter ( ) . map ( String :: as_str ) . collect ( ) ; execute_arc_command ( & args , & run_adb_command ) }
Wraps |execute_arc_command| to register it to crosh dispatcher.
Wraps |execute_arc_command| to register it to crosh dispatcher .
_cmd
&Command
_args
&Arguments