Function tor_dirmgr::retry::build_nonzero
source ยท fn build_nonzero<NZ, I>(
spec: Option<I>,
default: I,
field: &'static str
) -> Result<NZ, ConfigBuildError>where
I: TryInto<NZ>,
Expand description
Helper for building a NonZero* field