[][src]Struct opensc_sys::sc_context

#[repr(C)]pub struct sc_context {
    pub conf: *mut scconf_context,
    pub conf_blocks: [*mut scconf_block; 3],
    pub app_name: *mut c_char,
    pub debug: c_int,
    pub flags: c_ulong,
    pub debug_file: *mut FILE,
    pub debug_filename: *mut c_char,
    pub preferred_language: *mut c_char,
    pub readers: list_t,
    pub reader_driver: *mut sc_reader_driver,
    pub reader_drv_data: *mut c_void,
    pub card_drivers: [*mut sc_card_driver; 48],
    pub forced_driver: *mut sc_card_driver,
    pub thread_ctx: *mut sc_thread_context_t,
    pub mutex: *mut c_void,
    pub magic: c_uint,
}

Fields

conf: *mut scconf_contextconf_blocks: [*mut scconf_block; 3]app_name: *mut c_chardebug: c_intflags: c_ulongdebug_file: *mut FILEdebug_filename: *mut c_charpreferred_language: *mut c_charreaders: list_treader_driver: *mut sc_reader_driverreader_drv_data: *mut c_voidcard_drivers: [*mut sc_card_driver; 48]forced_driver: *mut sc_card_driverthread_ctx: *mut sc_thread_context_tmutex: *mut c_voidmagic: c_uint

Trait Implementations

impl Clone for sc_context[src]

impl Copy for sc_context[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.