Function ustr::get_cache

source · []
pub fn get_cache() -> &'static Bins
Expand description

Utility function to get a reference to the main cache object for use with serialization.

Examples

ustr("Send me to JSON and back");
let json = serde_json::to_string(ustr::get_cache()).unwrap();