[−][src]Type Definition spirit_tokio::net::TcpListenWithLimits
type TcpListenWithLimits<ExtraCfg = Empty, TcpStreamConfigure = TcpConfig> = WithLimits<TcpListen<ExtraCfg, TcpStreamConfigure>>;
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
.