[][src]Struct opensc_sys::sc_context_param_t

#[repr(C)]pub struct sc_context_param_t {
    pub ver: c_uint,
    pub app_name: *const c_char,
    pub flags: c_ulong,
    pub thread_ctx: *mut sc_thread_context_t,
}

@struct sc_context_t initialization parameters Structure to supply additional parameters, for example mutex information, to the sc_context_t creation.

Fields

ver: c_uint

version number of this structure (0 for this version)

app_name: *const c_char

name of the application (used for finding application dependent configuration data). If NULL the name "default" will be used.

flags: c_ulong

context flags

thread_ctx: *mut sc_thread_context_t

mutex functions to use (optional)

Trait Implementations

impl Clone for sc_context_param_t[src]

impl Copy for sc_context_param_t[src]

impl Debug for sc_context_param_t[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.