fn expired(&self) -> bool {
        let idle_duration = SteadyTime::now() - self.inner.last_io;
        let ttl = self
            .inner
            .opts
            .get_conn_ttl()
            .unwrap_or(self.inner.wait_timeout);
        idle_duration.num_milliseconds() > i64::from(ttl) * 1000
    }
/// Returns true if time since last io exceeds wait_timeout (or conn_ttl if specified in opts).
Returns true if time since last io exceeds wait_timeout (or conn_ttl if specified in opts).
Returns true if time since last io exceeds wait_timeout ( or conn_ttl if specified in opts ) .
fn expired(&self) -> bool {
        let idle_duration = SteadyTime::now() - self.inner.last_io;
        let ttl = self
            .inner
            .opts
            .get_conn_ttl()
            .unwrap_or(self.inner.wait_timeout);
        idle_duration.num_milliseconds() > i64::from(ttl) * 1000
    }
fn expired ( & self ) -> bool { let idle_duration = SteadyTime :: now ( ) - self . inner . last_io ; let ttl = self . inner . opts . get_conn_ttl ( ) . unwrap_or ( self . inner . wait_timeout ) ; idle_duration . num_milliseconds ( ) > i64 :: from ( ttl ) * 1000 }
Returns true if time since last io exceeds wait_timeout (or conn_ttl if specified in opts).
Returns true if time since last io exceeds wait_timeout ( or conn_ttl if specified in opts ) .
&self
&self