[][src]Struct tmkms::config::provider::yubihsm::AuthConfig

pub struct AuthConfig {
    pub key: u16,
    pub password: Secret<Password>,
}

Configuration options for this connector

Fields

key: u16

Authentication key ID to use to authenticate to the YubiHSM

password: Secret<Password>

Password to use to authenticate to the YubiHSM

Methods

impl AuthConfig[src]

pub fn credentials(&self) -> Credentials[src]

Get the yubihsm::Credentials for this AuthConfig

Trait Implementations

impl Clone for AuthConfig[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AuthConfig[src]

impl<'de> Deserialize<'de> for AuthConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self