Struct yubihsm::UsbConfig[][src]

pub struct UsbConfig {
    pub serial: Option<SerialNumber>,
    pub timeout_ms: u64,
}

Configuration for connecting to the YubiHSM via USB

Fields

Serial number of the YubiHSM to connect to

Timeout for USB operations (default 1s)

Trait Implementations

impl Clone for UsbConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for UsbConfig
[src]

Formats the value using the given formatter. Read more

impl Default for UsbConfig
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for UsbConfig

impl Sync for UsbConfig