[][src]Struct opensc_sys::sc_reader

#[repr(C)]pub struct sc_reader {
    pub ctx: *mut sc_context,
    pub driver: *const sc_reader_driver,
    pub ops: *const sc_reader_operations,
    pub drv_data: *mut c_void,
    pub name: *mut c_char,
    pub vendor: *mut c_char,
    pub version_major: c_uchar,
    pub version_minor: c_uchar,
    pub flags: c_ulong,
    pub capabilities: c_ulong,
    pub supported_protocols: c_uint,
    pub active_protocol: c_uint,
    pub max_send_size: size_t,
    pub max_recv_size: size_t,
    pub atr: sc_atr,
    pub uid: sc_uid,
    pub atr_info: sc_reader__atr_info,
}

Fields

ctx: *mut sc_contextdriver: *const sc_reader_driverops: *const sc_reader_operationsdrv_data: *mut c_voidname: *mut c_charvendor: *mut c_charversion_major: c_ucharversion_minor: c_ucharflags: c_ulongcapabilities: c_ulongsupported_protocols: c_uintactive_protocol: c_uintmax_send_size: size_tmax_recv_size: size_tatr: sc_atruid: sc_uidatr_info: sc_reader__atr_info

Trait Implementations

impl Clone for sc_reader[src]

impl Copy for sc_reader[src]

Auto Trait Implementations

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.