pub struct InstallDriverOptions {
pub install_filter_driver: bool,
pub pending_install_timeout: u32,
}Expand description
Options for installing a driver, as exposed by libwdi
You can use default() to construct.
Fields§
§install_filter_driver: bool§pending_install_timeout: u32Timeout in milliseconds to wait for pending installations. Driver installation often takes around a minute to complete.
Implementations§
Source§impl InstallDriverOptions
impl InstallDriverOptions
Sourcepub const DEFAULT_PENDING_INSTALL_TIMEOUT: u32 = 120_000u32
pub const DEFAULT_PENDING_INSTALL_TIMEOUT: u32 = 120_000u32
The default timeout for pending installations in milliseconds
Trait Implementations§
Source§impl Clone for InstallDriverOptions
impl Clone for InstallDriverOptions
Source§fn clone(&self) -> InstallDriverOptions
fn clone(&self) -> InstallDriverOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstallDriverOptions
impl Debug for InstallDriverOptions
Auto Trait Implementations§
impl Freeze for InstallDriverOptions
impl RefUnwindSafe for InstallDriverOptions
impl Send for InstallDriverOptions
impl Sync for InstallDriverOptions
impl Unpin for InstallDriverOptions
impl UnwindSafe for InstallDriverOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more