pub fn new(reader: R) -> TimeoutReader<R> {
        TimeoutReader {
            reader,
            state: TimeoutState::new(),
        }
    }
/// Returns a new `TimeoutReader` wrapping the specified reader.
///
/// There is initially no timeout.
Returns a new `TimeoutReader` wrapping the specified reader.
There is initially no timeout.
Returns a new ` TimeoutReader ` wrapping the specified reader . There is initially no timeout .
pub fn new(reader: R) -> TimeoutReader<R> {
        TimeoutReader {
            reader,
            state: TimeoutState::new(),
        }
    }
pub fn new ( reader : R ) -> TimeoutReader < R > { TimeoutReader { reader , state : TimeoutState :: new ( ) , } }
Returns a new `TimeoutReader` wrapping the specified reader.
Returns a new ` TimeoutReader ` wrapping the specified reader .
reader
R
reader
R