Type Definition spirit_tokio::net::TcpListenWithLimits[][src]

pub type TcpListenWithLimits<ExtraCfg = Empty, TcpStreamConfigure = TcpConfig> = WithLimits<TcpListen<ExtraCfg, TcpStreamConfigure>>;
Expand description

Convenience type alias for configuration fragment for TCP listening socket with handling of accept errors and limiting number of current connections.

You might prefer this one over plain TcpListen.