pub fn load(path_str: &str, params: String) -> Result<()>Expand description
Loads module by path
Example
extern crate liblmod;
if let Err(e) = liblmod::load("./example_module.ko", "example.param=0".to_string()) {
eprintln!("Failed to load module: {e}");
}