Function library_loader::load_vmo

source ·
pub async fn load_vmo<'a>(
    dir: &impl AsRefDirectory,
    object_name: &'a str
) -> Result<Vmo, Error>
Expand description

load_vmo will attempt to open the provided name in dir and return an executable VMO with the contents.

dir must have been opened with at minimum OPEN_RIGHT_READABLE and OPEN_RIGHT_EXECUTABLE rights.