Skip to main content

try_load_embedded_profiles

Function try_load_embedded_profiles 

pub fn try_load_embedded_profiles() -> Result<impl Iterator<Item = UserAgentProfile>, Box<dyn Error + Send + Sync>>
Available on crate features embed-profiles and std and ua only.
Expand description

Load the profiles embedded with the rama-ua crate.

The embedded file is a zstd-compressed archive of collected observations; the profiles are recomputed from them on load. This function is only available if the embed-profiles feature is enabled.