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: restore.rs
    path of file: ./repos/CYFS/src/service/ood-control/src
    
    the code of the file until where you have to start completion: use cyfs_backup::*;
use cyfs_backup_lib::*;
use cyfs_base::*;
use cyfs_lib::RequestorHelper;

use tide::{Request, Response, StatusCode};

pub struct RestoreController {
    restore_manager: RemoteRestoreManag
    
    fn get_task_status(&self, req: Request<()>) -> BuckyResult<RemoteRestoreStatus> {
        let task_id = req.param("task_id").map_err(|e| {
            let msg = format!("invalid task_id segment: {}", e);
            error!("{}", msg);

            BuckyError::new(BuckyErrorCode::InvalidFormat, msg)
        })?;

        self.restore_manager.get_task_status(task_id)
    }