Struct smartcard::logic::reader::Reader [] [src]

pub struct Reader { /* fields omitted */ }

The card reader is what is really plugged into the computer.

Methods

impl Reader
[src]

Constructor for a reader. Prefer to select a reader from the list created by the context.

Get the name of this reader.

Connect to a smartcard on this reader

Arguments

  • context - The resource manager context.
  • share_mode - How do you want to share the access to the smartcard.
  • preferred_protocol - What protocol do you want to use to connect to the smartcard.

Trait Implementations

impl Debug for Reader
[src]

Formats the value using the given formatter.

impl Clone for Reader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more