[][src]Function libftd2xx::library_version

pub fn library_version() -> Result<Version, Ftd2xxError>

Returns the version of the underlying C library.

Note: The documentation says this function is only supported on Windows but it seems to correctly work on Linux.

Example

use libftd2xx::library_version;

let version = library_version()?;
println!("libftd2xx C library version: {:?}", version);