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: status.rs
    path of file: ./repos/nearcore/chain/jsonrpc/src/api
    
    the code of the file until where you have to start completion: use near_async::messaging::AsyncSendError;
use near_client_primitives::types::StatusError;
use near_jsonrpc_primitives::types::status::{
    RpcHealthResponse, RpcStatusError, RpcStatusResponse,
};
use near_primitives::views::StatusResponse;

use super::RpcFrom;

impl RpcFrom<AsyncSendError> for RpcStatusError {
    fn rpc_from(error: AsyncSendError) -> Self {
        Self::InternalError { error_message: error.to_string() }
    }
}

impl RpcFrom<StatusResponse> for RpcStatusResponse {
    fn rpc_from(status_response: StatusResponse) -> Self {
        Self { status_response }
    }
}

impl RpcFrom<near_client_primitives::debug::DebugStatusResponse>
    for near_jsonrpc_primitives::types::status::DebugStatusResponse
{
    fn rpc_from(response: near_client_primitives::debug::DebugStatusResponse) -> Self {
        match response {
            near_client_primitives::debug::DebugStatusResponse::SyncStatus(x) => {
                near_jsonrpc_primitives::types::status::DebugStatusResponse::SyncStatus(x)
            }
            near_client_primitives::debug::DebugStatus
    
    fn rpc_from(response: near_client_primitives::debug::DebugStatusResponse) -> Self {
        match response {
            near_client_primitives::debug::DebugStatusResponse::SyncStatus(x) => {
                near_jsonrpc_primitives::types::status::DebugStatusResponse::SyncStatus(x)
            }
            near_client_primitives::debug::DebugStatusResponse::CatchupStatus(x) => {
                near_jsonrpc_primitives::types::status::DebugStatusResponse::CatchupStatus(x)
            }
            near_client_primitives::debug::DebugStatusResponse::RequestedStateParts(x) => {
                near_jsonrpc_primitives::types::status::DebugStatusResponse::RequestedStateParts(x)
            }
            near_client_primitives::debug::DebugStatusResponse::TrackedShards(x) => {
                near_jsonrpc_primitives::types::status::DebugStatusResponse::TrackedShards(x)
            }
            near_client_primitives::debug::DebugStatusResponse::EpochInfo(x) => {
                near_jsonrpc_primitives::types::status::DebugStatusResponse::EpochInfo(x)
            }
            near_client_primitives::debug::DebugStatusResponse::BlockStatus(x) => {
                near_jsonrpc_primitives::types::status::DebugStatusResponse::BlockStatus(x)
            }
            near_client_primitives::debug::DebugStatusResponse::ValidatorStatus(x) => {
                near_jsonrpc_primitives::types::status::DebugStatusResponse::ValidatorStatus(x)
            }
            near_client_primitives::debug::DebugStatusResponse::ChainProcessingStatus(x) => {
                near_jsonrpc_primitives::types::status::DebugStatusResponse::ChainProcessingStatus(
                    x,
                )
            }
        }
    }