Function sitewriter::generate [−][src]
Expand description
Generates the sitemap and saves it using the provided writer.
It’s recommended to use [Sitemap::generate_bytes
] or [Sitemap::generate_str
] if you need a
String or a Vec
Errors
Will return Err
if it fails to write to the writer.