Skip to main content

memory_temp_dir

Function memory_temp_dir 

Source
pub fn memory_temp_dir() -> Option<PathBuf>
Expand description

A temporary directory kept in memory, where the platform has one (/dev/shm on Linux): for scratch data that is synced like a person’s but deleted moments later (a test’s profile), whose syncs then cost nothing instead of waiting on a shared disk. None elsewhere.