Struct yubihsm::adapter::usb::HsmDevice[][src]

pub struct HsmDevice {
    pub product_name: String,
    pub serial_number: SerialNumber,
    // some fields omitted
}

A USB device we've identified as a YubiHSM2

Fields

Product vendor and name

Serial number of the YubiHSM2 device

Methods

impl HsmDevice
[src]

Open this device, consuming it and creating a UsbAdapter

Get the bus number for this device

Get the address for this device

Trait Implementations

impl Debug for HsmDevice
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for HsmDevice

impl Sync for HsmDevice