You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: repl.rs
    path of file: ./repos/rusti/src/rusti
    
    the code of the file until where you have to start completion: // Copyright 2014-2016 Rusti Project
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be c
    
    pub fn run(&mut self) {
        let mut more = false;
        let mut input = InputReader::new();

        while !self.exit_repl {
            let res = if self.read_block {
                self.read_block = false;
                input.read_block_input(BLOCK_PROMPT)
            } else {
                input.read_input(if more { MORE_PROMPT } else { DEFAULT_PROMPT })
            };

            match res {
                Command(name, args) => {
                    debug!("read command: {} {:?}", name, args);

                    more = false;
                    self.handle_command(name, args);
                },
                Program(input) => {
                    debug!("read program: {:?}", input);

                    more = false;
                    self.handle_input(input, false);
                },
                Empty => (),
                More => { more = true; },
                Eof => {
                    if input.is_tty() {
                        println!("");
                    }
                    break;
                }
                InputError(err) => {
                    if let Some(err) = err {
                        println!("{}", err);
                    }
                    more = false;
                },
            };
        }
    }