Struct yubihsm::connector::Status [] [src]

pub struct Status {
    pub message: String,
    pub serial: Option<String>,
    pub version: String,
    pub pid: u32,
}

Status response from yubihsm-connector containing information about its health and what YubiHSM2 we're connected to

Fields

Status message for yubihsm-connector e.g. "OK"

Serial number of YubiHSM2 device. Only available if yubihsm-connector has been started with the --serial option

YubiHSM2 SDK version for yubihsm-connector

PID of yubihsm-connector

Methods

impl Status
[src]

[src]

Parse the yubihsm-connector status response into a status struct

Trait Implementations

impl Clone for Status
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Status
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Status

impl Sync for Status