Skip to main content

HardwareEnvironment

Trait HardwareEnvironment 

Source
pub trait HardwareEnvironment: Send + Sync {
    // Required method
    fn snapshot(&self) -> HardwareInfo;
}
Expand description

Supplies a snapshot of the current machine for license binding checks.

Implement this type in your application or a companion crate if the default OS-visible probe (detect_hardware) is not sufficient.

Required Methods§

Source

fn snapshot(&self) -> HardwareInfo

Current hardware identifiers as seen by the licensing layer.

Implementors§