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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user