Trait openpgp_card::CardBackend
source · [−]pub trait CardBackend {
fn transaction(
&mut self
) -> Result<Box<dyn CardTransaction + Send + Sync>, Error>;
}
Expand description
The CardBackend trait defines a connection with an OpenPGP card via a
backend implementation (e.g. via the pcsc backend in the crate
openpgp-card-pcsc),
A CardBackend is only used to get access to a CardTransaction
object.