Struct yubihsm::HttpConfig[][src]

pub struct HttpConfig {
    pub addr: String,
    pub port: u16,
    pub timeout_ms: u64,
}

Configuration options for the HTTP (i.e. yubihsm-connector) connection

Fields

Address of yubihsm-connector (IP address or DNS name)

Port yubihsm-connector process is listening on

Timeout for connecting, reading, and writing in milliseconds

Trait Implementations

impl Clone for HttpConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HttpConfig
[src]

Formats the value using the given formatter. Read more

impl Default for HttpConfig
[src]

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

impl Display for HttpConfig
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for HttpConfig

impl Sync for HttpConfig