fn validate_u64_bound(value: Option<u64>, default: u64) -> Result<u64, Error>