mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-28 15:57:47 +02:00
use actix_rt::test for test setup
This commit is contained in:
@@ -8,7 +8,7 @@ use actix_server_config::{
|
||||
Io as ServerIo, IoStream, Protocol, ServerConfig as SrvConfig,
|
||||
};
|
||||
use actix_service::{IntoServiceFactory, Service, ServiceFactory};
|
||||
use bytes::{Buf, BufMut, Bytes, BytesMut};
|
||||
use bytes::{BufMut, Bytes, BytesMut};
|
||||
use futures::{ready, Future};
|
||||
use h2::server::{self, Handshake};
|
||||
use pin_project::{pin_project, project};
|
||||
@@ -659,7 +659,7 @@ impl<T: AsyncRead> AsyncRead for Io<T> {
|
||||
// }
|
||||
}
|
||||
|
||||
impl<T: AsyncWrite> tokio_io::AsyncWrite for Io<T> {
|
||||
impl<T: AsyncWrite> actix_codec::AsyncWrite for Io<T> {
|
||||
fn poll_write(
|
||||
self: Pin<&mut Self>,
|
||||
cx: &mut Context<'_>,
|
||||
|
Reference in New Issue
Block a user