pub fn new() -> Result<Self> {
        Ok(Self {
            yk: YubiKey::open()?,
        })
    }
/// Create a new YubiKey. Assumes there is only one Yubikey connected
Create a new YubiKey. Assumes there is only one Yubikey connected
Create a new YubiKey . Assumes there is only one Yubikey connected
pub fn new() -> Result<Self> {
        Ok(Self {
            yk: YubiKey::open()?,
        })
    }
pub fn new ( ) -> Result < Self > { Ok ( Self { yk : YubiKey :: open ( ) ? , } ) }
Create a new YubiKey.
Create a new YubiKey .