1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 17:07:01 +02:00

deprecate start_incoming

This commit is contained in:
Nikolay Kim
2018-09-28 08:45:49 -07:00
parent fc5088b55e
commit 0f1c80ccc6
3 changed files with 63 additions and 61 deletions

View File

@@ -1,6 +1,7 @@
use std::net::{Shutdown, SocketAddr};
use std::{io, ptr, time};
use actix::Message;
use bytes::{Buf, BufMut, BytesMut};
use futures::{Async, Future, Poll};
use tokio_io::{AsyncRead, AsyncWrite};
@@ -282,6 +283,10 @@ where
io: T,
}
impl<T: AsyncRead + AsyncWrite + 'static> Message for WrapperStream<T> {
type Result = ();
}
impl<T> WrapperStream<T>
where
T: AsyncRead + AsyncWrite + 'static,