MCPcopy Create free account
hub / github.com/elast0ny/shared_memory / open_mapping

Function open_mapping

src/windows.rs:275–281  ·  view source on GitHub ↗

Opens an existing mapping specified by its uid

(
    unique_id: &str,
    map_size: usize,
    ext: &ShmemConfExt,
)

Source from the content-addressed store, hash-verified

273
274//Opens an existing mapping specified by its uid
275pub fn open_mapping(
276 unique_id: &str,
277 map_size: usize,
278 ext: &ShmemConfExt,
279) -> Result<MapData, ShmemError> {
280 new_map(unique_id, map_size, false, ext.allow_raw)
281}

Callers

nothing calls this directly

Calls 1

new_mapFunction · 0.85

Tested by

no test coverage detected