pub fn new(reader: R, writer: W) -> Self {
        Self {
            reader: Stream::Owned(reader),
            writer: Stream::Owned(writer),
        }
    }
/// Instantiates the stream with a given reader and writer.

Instantiates the stream with a given reader and writer.
Instantiates the stream with a given reader and writer .
pub fn new(reader: R, writer: W) -> Self {
        Self {
            reader: Stream::Owned(reader),
            writer: Stream::Owned(writer),
        }
    }
pub fn new ( reader : R , writer : W ) -> Self { Self { reader : Stream :: Owned ( reader ) , writer : Stream :: Owned ( writer ) , } }
Instantiates the stream with a given reader and writer.
Instantiates the stream with a given reader and writer .
reader
R
writer
W