[][src]Struct opensc_sys::sm_context

#[repr(C)]pub struct sm_context {
    pub config_section: [c_char; 64],
    pub sm_mode: c_uint,
    pub sm_flags: c_uint,
    pub info: sm_info,
    pub ops: sm_card_operations,
    pub module: sm_module,
    pub app_lock: Option<unsafe extern "C" fn() -> c_ulong>,
    pub app_unlock: Option<unsafe extern "C" fn()>,
}

Fields

config_section: [c_char; 64]sm_mode: c_uintsm_flags: c_uintinfo: sm_infoops: sm_card_operationsmodule: sm_moduleapp_lock: Option<unsafe extern "C" fn() -> c_ulong>app_unlock: Option<unsafe extern "C" fn()>

Trait Implementations

impl Clone for sm_context[src]

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