Skip to main content

memory_modules

Function memory_modules 

Source
pub fn memory_modules(
    modules: impl IntoIterator<Item = (impl Into<String>, impl Into<Vec<u8>>)>,
) -> Box<dyn Source>
Expand description

Create a Source backed by multiple in-memory MIB modules.

Each entry is a (name, bytes) pair. Module names must match the DEFINITIONS header inside the corresponding content.