[][src]Struct opensc_sys::sc_card

#[repr(C)]pub struct sc_card {
    pub ctx: *mut sc_context,
    pub reader: *mut sc_reader,
    pub atr: sc_atr,
    pub uid: sc_uid,
    pub type_: c_int,
    pub caps: c_ulong,
    pub flags: c_ulong,
    pub cla: c_int,
    pub max_send_size: size_t,
    pub max_recv_size: size_t,
    pub app: [*mut sc_app_info; 8],
    pub app_count: c_int,
    pub ef_atr: *mut sc_ef_atr,
    pub algorithms: *mut sc_algorithm_info,
    pub algorithm_count: c_int,
    pub lock_count: c_int,
    pub driver: *mut sc_card_driver,
    pub ops: *mut sc_card_operations,
    pub name: *const c_char,
    pub drv_data: *mut c_void,
    pub max_pin_len: c_int,
    pub cache: sc_card_cache,
    pub serialnr: sc_serial_number,
    pub version: sc_version,
    pub mutex: *mut c_void,
    pub sm_ctx: sm_context,
    pub magic: c_uint,
}

Fields

ctx: *mut sc_contextreader: *mut sc_readeratr: sc_atruid: sc_uidtype_: c_intcaps: c_ulongflags: c_ulongcla: c_intmax_send_size: size_tmax_recv_size: size_tapp: [*mut sc_app_info; 8]app_count: c_intef_atr: *mut sc_ef_atralgorithms: *mut sc_algorithm_infoalgorithm_count: c_intlock_count: c_intdriver: *mut sc_card_driverops: *mut sc_card_operationsname: *const c_chardrv_data: *mut c_voidmax_pin_len: c_intcache: sc_card_cacheserialnr: sc_serial_numberversion: sc_versionmutex: *mut c_voidsm_ctx: sm_contextmagic: c_uint

Trait Implementations

impl Clone for sc_card[src]

impl Copy for sc_card[src]

Auto Trait Implementations

impl RefUnwindSafe for sc_card

impl !Send for sc_card

impl !Sync for sc_card

impl Unpin for sc_card

impl UnwindSafe for sc_card

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.