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
message: String
Status message for yubihsm-connector e.g. "OK"
serial: Option<String>
Serial number of YubiHSM2
device. Only available if yubihsm-connector
has been started with the --serial option
version: String
YubiHSM2
SDK version for yubihsm-connector
pid: u32
PID of yubihsm-connector
Methods
impl Status
[src]
pub fn parse(response_body: &str) -> Result<Self, Error>
[src]
Parse the yubihsm-connector status response into a status struct
Trait Implementations
impl Clone for Status
[src]
fn clone(&self) -> Status
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more