Function compile_ip2location_lite_to_file
pub fn compile_ip2location_lite_to_file<R>(
read: R,
ip_version: IpVersion,
kind: Ip2LocationLite,
path: impl AsRef<Path>,
) -> Result<(), CsvError>where
R: Read,Available on crate feature
net only.Expand description
Compile an IP2Location LITE CSV export and write the database to path,
streaming it to disk.
See compile_ip2location_lite for the layout and row handling.
§Errors
Returns CsvError on I/O failure, a malformed row, or a write failure.