Struct pcsc::ReaderState [] [src]

#[repr(C)]
pub struct ReaderState { /* fields omitted */ }

A structure for tracking the current state of card readers and cards.

This structure wraps SCARD_READERSTATE (pcsclite, MSDN).

Methods

impl ReaderState
[src]

[src]

Create a ReaderState for a card reader with a given presumed state.

[src]

The name of the card reader.

[src]

The last reported state.

[src]

The card event count.

The count is incremented for each card insertion or removal in the reader. This can be used to detect a card removal/insertion between two calls to Context::get_status_change().

[src]

Sync the currently-known state to the last reported state.

Trait Implementations

impl Drop for ReaderState
[src]

[src]

Executes the destructor for this type. Read more