Module shm

Module shm 

Source
Expand description

SHM helpers: temp paths, region open options, cleanup.

Functionsยง

as_err
Create a kit Error from a message.
err
Convenience: return an Err(Error::msg(msg)).
fmt_err
Convenience: return an Err(Error::msg(msg)) for Result<()>.
journal_open_options
Create SHM journal open options with blocking/stats toggles.
remove_file_best_effort
Best-effort file removal.
shm_open_options
Create SHM region open options with the provided blocking flag.
temp_mmap
Create a unique temporary path for a SHM mapping file.