当我尝试同时使用actix 3和rusoto 0.46时,我得到以下运行时错误:
thread 'actix-rt:worker:0' panicked at 'there is no reactorrunning, must be called from the context of a Tokio 1.x runtime', /Users/matt/.cargo/registry/src/github.
我尝试用actix实现mongodb。这是我的主修课:async fn main() -> std::io::Result<()> {
let db_helper = DbHelper::open_connection' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime'
我希望创建一个服务器,在该服务器中,我可以将Search特性作为应用程序数据提供,以便在多个实现之间轻松地交换,或者使用模拟实现进行测试。[dependencies]actix-web = "3.3.2"
tokio = "0.2.22"use actix_web::dev::Server;
use <em
我使用使用tokio 1的机箱scylla,所以我必须使用crate 4.0 beta。现在,我遇到了使用actix_web::client::Client显示错误的问题: | ^^^^^^ could not find `client` in `actix_web`
我想使用以下代码在actix处理程序中命中AP