fn close(&self, conn: ConnectionInnerType<Io>) {
        if let Some(timeout) = self.config.disconnect_timeout {
            if let ConnectionInnerType::H1(io) = conn {
                actix_rt::spawn(CloseConnection::new(io, timeout));
            }
        }
    }
/// spawn a async for graceful shutdown h1 Io type with a timeout.
spawn a async for graceful shutdown h1 Io type with a timeout.
spawn a async for graceful shutdown h1 Io type with a timeout .
fn close(&self, conn: ConnectionInnerType<Io>) {
        if let Some(timeout) = self.config.disconnect_timeout {
            if let ConnectionInnerType::H1(io) = conn {
                actix_rt::spawn(CloseConnection::new(io, timeout));
            }
        }
    }
fn close ( & self , conn : ConnectionInnerType < Io > ) { if let Some ( timeout ) = self . config . disconnect_timeout { if let ConnectionInnerType :: H1 ( io ) = conn { actix_rt :: spawn ( CloseConnection :: new ( io , timeout ) ) ; } } }
spawn a async for graceful shutdown h1 Io type with a timeout.
spawn a async for graceful shutdown h1 Io type with a timeout .
&self
conn
ConnectionInnerType<Io>
&self
conn
ConnectionInnerType<Io>