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: static_files.rs
    path of file: ./repos/bionic-gpt/crates/axum-server/src
    
    the code of the file until where you have to start completion: use assets::files::{index_css_map, index_js_map, StaticFile};
use axum::body::{self, Empty, StreamBody};
use axum::extract::Path;
use axum::http::{header, HeaderValue, Response, StatusCode};
use axum::response::IntoResponse;
use tokio_util::io::ReaderStream;

pub async fn static_path(Path(path): Path<String>) -> impl IntoResponse {
    let path = format!("/static/{}", path);

    let data = if path == "/static/index.css.map" {
        Some(&index_css_map)
    } else if path == "/static/index.js.map" {
        Some(&index_js_map)
    } else {
        StaticFile::get(&path)
    };

    if let Some(data) = data {
        let file = match tokio::fs::File::open(data.file_name).await {
            Ok(file) => file,
            Err(_) => {
                return Response::builder()
                    .status(StatusCode::NOT_FOUND)
                    .body(body::boxed(Empty::new()))
                    .unwrap()
            }
        };

        // convert the `AsyncRead` into a `Stream`
        let stream = Rea
    
pub async fn static_path(Path(path): Path<String>) -> impl IntoResponse {
    let path = format!("/static/{}", path);

    let data = if path == "/static/index.css.map" {
        Some(&index_css_map)
    } else if path == "/static/index.js.map" {
        Some(&index_js_map)
    } else {
        StaticFile::get(&path)
    };

    if let Some(data) = data {
        let file = match tokio::fs::File::open(data.file_name).await {
            Ok(file) => file,
            Err(_) => {
                return Response::builder()
                    .status(StatusCode::NOT_FOUND)
                    .body(body::boxed(Empty::new()))
                    .unwrap()
            }
        };

        // convert the `AsyncRead` into a `Stream`
        let stream = ReaderStream::new(file);
        // convert the `Stream` into an `axum::body::HttpBody`
        let body = StreamBody::new(stream);

        return Response::builder()
            .status(StatusCode::OK)
            .header(
                header::CONTENT_TYPE,
                HeaderValue::from_str(data.mime.as_ref()).unwrap(),
            )
            .body(body::boxed(body))
            .unwrap();
    }
    Response::builder()
        .status(StatusCode::NOT_FOUND)
        .body(body::boxed(Empty::new()))
        .unwrap()
}