pub fn reconnect(&mut self) -> Result <()> {
        match self.yk.reconnect() {
            Ok(()) => Ok(()),
            Err(_) => match YubiKey::open_by_serial(self.yk.serial()){
                Ok(yk) => {
                    self.yk = yk;
                    Ok(())
                },
                Err(_) => Err(Error::NoSuchYubikey),
            }
        }
    }
/// Reconnet to the Yubikey (if possible, if it's disconnected)
Reconnet to the Yubikey (if possible, if it's disconnected)
Reconnet to the Yubikey ( if possible if it ' s disconnected )
pub fn reconnect(&mut self) -> Result <()> {
        match self.yk.reconnect() {
            Ok(()) => Ok(()),
            Err(_) => match YubiKey::open_by_serial(self.yk.serial()){
                Ok(yk) => {
                    self.yk = yk;
                    Ok(())
                },
                Err(_) => Err(Error::NoSuchYubikey),
            }
        }
    }
pub fn reconnect ( & mut self ) -> Result < ( ) > { match self . yk . reconnect ( ) { Ok ( ( ) ) => Ok ( ( ) ) , Err ( _ ) => match YubiKey :: open_by_serial ( self . yk . serial ( ) ) { Ok ( yk ) => { self . yk = yk ; Ok ( ( ) ) } , Err ( _ ) => Err ( Error :: NoSuchYubikey ) , } } }
Reconnet to the Yubikey (if possible, if it's disconnected)
Reconnet to the Yubikey ( if possible if it ' s disconnected )
&mut self