1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
use futures::Poll;
use tokio_io::{AsyncRead, AsyncWrite};

use crate::TcpStream;

use std::io;

impl AsyncRead for TcpStream {}

impl AsyncWrite for TcpStream {
    fn shutdown(&mut self) -> Poll<(), io::Error> {
        Ok(().into())
    }
}