[][src]Struct pcsc::CardStatus

pub struct CardStatus<'names_buf, 'atr_buf> { /* fields omitted */ }

Methods

impl<'names_buf, 'atr_buf> CardStatus<'names_buf, 'atr_buf>[src]

Important traits for ReaderNames<'buf>
pub fn reader_names(&self) -> ReaderNames<'names_buf>[src]

Iterator over the names by which the connected card reader is known.

pub fn protocol(&self) -> Protocol[src]

Current protocol of the card, if any.

The value is meaningful only if a communication protocol has already been established.

pub fn atr(&self) -> &'atr_buf [u8][src]

The current ATR string of the card.

Trait Implementations

impl<'names_buf, 'atr_buf> Clone for CardStatus<'names_buf, 'atr_buf>[src]

impl<'names_buf, 'atr_buf> Debug for CardStatus<'names_buf, 'atr_buf>[src]

Auto Trait Implementations

impl<'names_buf, 'atr_buf> RefUnwindSafe for CardStatus<'names_buf, 'atr_buf>

impl<'names_buf, 'atr_buf> Send for CardStatus<'names_buf, 'atr_buf>

impl<'names_buf, 'atr_buf> Sync for CardStatus<'names_buf, 'atr_buf>

impl<'names_buf, 'atr_buf> Unpin for CardStatus<'names_buf, 'atr_buf>

impl<'names_buf, 'atr_buf> UnwindSafe for CardStatus<'names_buf, 'atr_buf>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.