The design philosophy of deadpool and the deadpool-* crates has always been to offer the best possible DX while also avoiding configuration behind write-only builder patterns. This is mostly true but the PoolBuilder is a strange beast as it wraps a PoolConfig the hooks and the selected runtime.
The generic Wrapper parameter makes it a bit difficult to turn this into a regular struct but I kind of think that the methods which modify the underlying PoolConfig are kinda redundant and are of little actual value.
The design philosophy of
deadpooland thedeadpool-*crates has always been to offer the best possible DX while also avoiding configuration behind write-only builder patterns. This is mostly true but thePoolBuilderis a strange beast as it wraps aPoolConfigthe hooks and the selected runtime.The generic
Wrapperparameter makes it a bit difficult to turn this into a regular struct but I kind of think that the methods which modify the underlyingPoolConfigare kinda redundant and are of little actual value.