Skip to main content

HwProbe

Trait HwProbe 

Source
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§

Source

fn probe(&self) -> HwAccelCapabilities

Probe the system and return discovered capabilities.

Implementors§

Source§

impl HwProbe for MockProbe

Source§

impl HwProbe for SystemProbe

Available on Linux only.