pub fn new_tcp(token: Token, stream: TcpStream) -> ByteStream {
        ByteStream {
            stream: Stream::Tcp(stream),
            token: Some(token),
        }
    }
/// Create a bytestream for a tcp socket
Create a bytestream for a tcp socket
Create a bytestream for a tcp socket
pub fn new_tcp(token: Token, stream: TcpStream) -> ByteStream {
        ByteStream {
            stream: Stream::Tcp(stream),
            token: Some(token),
        }
    }
pub fn new_tcp ( token : Token , stream : TcpStream ) -> ByteStream { ByteStream { stream : Stream :: Tcp ( stream ) , token : Some ( token ) , } }
Create a bytestream for a tcp socket
Create a bytestream for a tcp socket
token
Token
stream
TcpStream
token
Token
stream
TcpStream