Struct yubihsm::HttpConfig
source · [−]Available on crate feature
http
only.Expand description
Configuration options for the HTTP (i.e. yubihsm-connector
) connection
Fields
addr: String
Address of yubihsm-connector
(IP address or DNS name)
port: u16
Port yubihsm-connector
process is listening on
timeout_ms: u64
Timeout for connecting, reading, and writing in milliseconds
Trait Implementations
sourceimpl Clone for HttpConfig
impl Clone for HttpConfig
sourcefn clone(&self) -> HttpConfig
fn clone(&self) -> HttpConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HttpConfig
impl Debug for HttpConfig
sourceimpl Default for HttpConfig
impl Default for HttpConfig
sourceimpl<'de> Deserialize<'de> for HttpConfig
impl<'de> Deserialize<'de> for HttpConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for HttpConfig
impl Display for HttpConfig
sourceimpl Serialize for HttpConfig
impl Serialize for HttpConfig
Auto Trait Implementations
impl RefUnwindSafe for HttpConfig
impl Send for HttpConfig
impl Sync for HttpConfig
impl Unpin for HttpConfig
impl UnwindSafe for HttpConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more