Struct yubihsm::UsbDevices[][src]

pub struct UsbDevices(_);

A collection of detected YubiHSM 2 devices, represented as HsmDevice

Methods

impl UsbDevices
[src]

Return the serial numbers of all connected YubiHSM2s

Open a YubiHSM2, either selecting one with a particular serial number or opening the only available one if Nonethere is only one connected

Detect connected YubiHSM 2s, returning a collection of them

Important traits for Iter<'a, T>

Iterate over the detected YubiHSM 2s

Auto Trait Implementations

impl Send for UsbDevices

impl Sync for UsbDevices