pub fn new_tcp_detached(stream: TcpStream) -> ByteStream {
        ByteStream {
            stream: Stream::Tcp(stream),
            token: None,
        }
    }
/// Create a bytestream for a tcp socket (without token)
///
/// This can be used with interfaces that require a `ByteStream` but
/// aren't got from the listener that have backpressure applied. For
/// example, if you have two listeners in the single app or even for
/// client connections.
Create a bytestream for a tcp socket (without token)
This can be used with interfaces that require a `ByteStream` but
aren't got from the listener that have backpressure applied. For
example, if you have two listeners in the single app or even for
client connections.
Create a bytestream for a tcp socket ( without token ) This can be used with interfaces that require a ` ByteStream ` but aren ' t got from the listener that have backpressure applied . For example if you have two listeners in the single app or even for client connections .
pub fn new_tcp_detached(stream: TcpStream) -> ByteStream {
        ByteStream {
            stream: Stream::Tcp(stream),
            token: None,
        }
    }
pub fn new_tcp_detached ( stream : TcpStream ) -> ByteStream { ByteStream { stream : Stream :: Tcp ( stream ) , token : None , } }
Create a bytestream for a tcp socket (without token)
This can be used with interfaces that require a `ByteStream` but
aren't got from the listener that have backpressure applied.
Create a bytestream for a tcp socket ( without token ) This can be used with interfaces that require a ` ByteStream ` but aren ' t got from the listener that have backpressure applied .
stream
TcpStream
stream
TcpStream