急いでいるので、コードだけ載せる。 use std::{sync::mpsc, thread}; use futures::executor; use actix_web::{get, middleware, web, App, Responder, HttpResponse, HttpServer}; //async fn read(datetime: &str) { // let sql = format!("ORDER BY abs(TIMESTAMPDIFF(second, datetime, "{}")) LIMIT 1", datetime); …