Function ft60x_rs::load_bundled_dylib
source · pub fn load_bundled_dylib() -> Result<()>
Expand description
Load the bundled dynamic library for this platform.
The library will be read from the bundled assets and written to a temporary directory before being loaded. This is necessary as dynamic libraries cannot be loaded directly from memory.
Errors
D3xxError::LibraryAlreadyLoaded
if the library has already been loaded.- [
D3xxError::LibraryLoadFailed
] if the library could not be loaded.