pub fn new(timeout: Option<Duration>) -> PollTimeout {
        PollTimeout {
            timeout,
            start: Instant::now(),
        }
    }
/// Constructs a new `PollTimeout` with the given optional `Duration`.
Constructs a new `PollTimeout` with the given optional `Duration`.
Constructs a new ` PollTimeout ` with the given optional ` Duration ` .
pub fn new(timeout: Option<Duration>) -> PollTimeout {
        PollTimeout {
            timeout,
            start: Instant::now(),
        }
    }
pub fn new ( timeout : Option < Duration > ) -> PollTimeout { PollTimeout { timeout , start : Instant :: now ( ) , } }
Constructs a new `PollTimeout` with the given optional `Duration`.
Constructs a new ` PollTimeout ` with the given optional ` Duration ` .
timeout
Option<Duration>
timeout
Option<Duration>