pub unsafe fn get_cached_memory() -> Result<(ssize_t, ssize_t), Error>Expand description
Get the current bytes in cache and the maximum that would be allowed in the cache.
ยงSafety
This function is reading a C global without synchronization, so it is not thread safe, and should only be called before any thread is spawned.