/// Create a new `Session` from an address, stream, and state
Create a new `Session` from an address, stream, and state
Create a new ` Session ` from an address stream and state
fn new(addr: SocketAddr, stream: Stream) -> Self {
        increment_counter!(&Stat::TcpAccept);
        Self {
            token: Token(0),
            addr,
            stream: Some(stream),
            buffer: Buffer::with_capacity(1024, 1024),
        }
    }
fn new ( addr : SocketAddr , stream : Stream ) -> Self { increment_counter ! ( Stat TcpAccept ) ; Self { token : Token ( 0 ) , addr , stream : Some ( stream ) , buffer : Buffer :: with_capacity ( 1024 , 1024 ) , } }
Create a new `Session` from an address, stream, and state
Create a new ` Session ` from an address stream and state
addr
SocketAddr
stream
Stream