pub trait HwProbe: Send + Sync {
// Required method
fn probe(&self) -> HwAccelCapabilities;
}Expand description
Abstraction over hardware acceleration probing.
Implement this trait (or use MockProbe) to supply capability data
without touching OS APIs — useful for unit tests and deterministic CI.
Required Methods§
Sourcefn probe(&self) -> HwAccelCapabilities
fn probe(&self) -> HwAccelCapabilities
Probe the system and return discovered capabilities.