Struct Driver
ao_rs
pub struct Driver { /* fields omitted */ }
Ao driver.
impl Driver
fn new() -> Result<Self, Error>
Creates and returns (if-any) the default driver.
fn with_name(short_name: &str) -> Result<Self, Error>
Tries to find a driver with the given name.
If the given name contains inner zero bytes.
fn driver_id(&self) -> i32
Returns the driver id.