[][src]Struct opensc_sys::sc_remote_data

#[repr(C)]pub struct sc_remote_data {
    pub data: *mut sc_remote_apdu,
    pub length: c_int,
    pub alloc: Option<unsafe extern "C" fn(rdata: *mut sc_remote_data, out: *mut *mut sc_remote_apdu) -> c_int>,
    pub free: Option<unsafe extern "C" fn(rdata: *mut sc_remote_data)>,
}

@struct sc_remote_data Frame for the list of the @c sc_remote_apdu data with the handlers to allocate and free.

Fields

data: *mut sc_remote_apdulength: c_intalloc: Option<unsafe extern "C" fn(rdata: *mut sc_remote_data, out: *mut *mut sc_remote_apdu) -> c_int>

Handler to allocate a new @c sc_remote_apdu data and add it to the list. @param rdata Self pointer to the @c sc_remote_data @param out Pointer to newle allocated member

free: Option<unsafe extern "C" fn(rdata: *mut sc_remote_data)>

Handler to free the list of @c sc_remote_apdu data @param rdata Self pointer to the @c sc_remote_data

Trait Implementations

impl Clone for sc_remote_data[src]

impl Copy for sc_remote_data[src]

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