Remove gratuitous fn from public API

This commit is contained in:
Heiko Schaefer 2022-02-18 11:20:55 +01:00
parent 09c47e4acd
commit 635fa0e6ac
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -149,7 +149,7 @@ impl<'b> TxClient<'b> {
}
/// Try to select the OpenPGP application on a card
pub fn select(card_tx: &mut TxClient) -> Result<(), Error> {
fn select(card_tx: &mut TxClient) -> Result<(), Error> {
if <dyn CardTransaction>::select(card_tx).is_ok() {
Ok(())
} else {
@ -670,10 +670,10 @@ impl PcscCard {
Ok(self)
}
pub fn card_caps(&self) -> Option<CardCaps> {
fn card_caps(&self) -> Option<CardCaps> {
self.card_caps
}
pub fn reader_caps(&self) -> HashMap<u8, Tlv> {
fn reader_caps(&self) -> HashMap<u8, Tlv> {
self.reader_caps.clone()
}
}