pub enum InfSource {
Embedded {
data: Vec<u8>,
filename: String,
},
External {
path: PathBuf,
},
Generated,
}Expand description
Source for the INF file used during driver installation.
Variants§
Embedded
Use an embedded INF file from memory.
The data will be written to a temporary directory during installation.
Fields
External
Use an existing INF file from the filesystem.
Generated
Let libwdi generate the INF file automatically.
This is the default and simplest option if you don’t need custom INF file contents.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InfSource
impl RefUnwindSafe for InfSource
impl Send for InfSource
impl Sync for InfSource
impl Unpin for InfSource
impl UnwindSafe for InfSource
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