pub struct CcidInfo {
pub interface_number: u8,
pub bulk_in: (u8, u16),
pub bulk_out: (u8, u16),
pub slots: u8,
}Expand description
CCID interface and endpoint information.
Fields§
§interface_number: u8CCID interface number.
bulk_in: (u8, u16)Device-to-host bulk endpoint address and maximum packet size.
bulk_out: (u8, u16)Host-to-device bulk endpoint address and maximum packet size.
slots: u8Number of card slots the reader exposes, from bMaxSlotIndex + 1. One when
the interface has no CCID functional descriptor.
Trait Implementations§
impl Eq for CcidInfo
impl StructuralPartialEq for CcidInfo
Auto Trait Implementations§
impl Freeze for CcidInfo
impl RefUnwindSafe for CcidInfo
impl Send for CcidInfo
impl Sync for CcidInfo
impl Unpin for CcidInfo
impl UnsafeUnpin for CcidInfo
impl UnwindSafe for CcidInfo
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