Function tor_netdir::testnet::construct_custom_netdir_with_params
source ยท pub fn construct_custom_netdir_with_params<F, P, PK>(
func: F,
params: P,
lifetime: Option<Lifetime>
) -> BuildResult<PartialNetDir>
Available on crate feature
testing
only.Expand description
As construct_custom_network()
, but return a PartialNetDir
,
and allow network parameter customisation.