#[repr(C)]pub struct sc_card {Show 27 fields
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_context§reader: *mut sc_reader§atr: sc_atr§uid: sc_uid§type_: c_int§caps: c_ulong§flags: c_ulong§cla: c_int§max_send_size: size_t§max_recv_size: size_t§app: [*mut sc_app_info; 8]§app_count: c_int§ef_atr: *mut sc_ef_atr§algorithms: *mut sc_algorithm_info§algorithm_count: c_int§lock_count: c_int§driver: *mut sc_card_driver§ops: *mut sc_card_operations§name: *const c_char§drv_data: *mut c_void§max_pin_len: c_int§cache: sc_card_cache§serialnr: sc_serial_number§version: sc_version§mutex: *mut c_void§sm_ctx: sm_context§magic: c_uintTrait Implementations§
Auto Trait Implementations§
impl Freeze for sc_card
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more