[−][src]Struct yubirs::piv::hal::PcscHardware
An implementation of PcscHal which actually talks to real hardware using the PC/SC library.
Methods
impl PcscHardware
[src]
pub fn new_with_recording<P: AsRef<Path>>(output: P) -> Result<Self>
[src]
Trait Implementations
impl Drop for PcscHardware
[src]
impl PcscHal for PcscHardware
[src]
fn new() -> Result<Self>
[src]
fn secure_random_bytes(&self, buf: &mut [u8]) -> Result<()>
[src]
fn cheap_random_bytes(&self, buf: &mut [u8]) -> Result<()>
[src]
fn list_readers(&self) -> Result<Vec<String>>
[src]
fn connect_impl(&mut self, reader: &str) -> Result<()>
[src]
fn disconnect(&mut self)
[src]
fn send_data_impl(&self, apdu: &Apdu) -> Result<(StatusWord, Vec<u8>)>
[src]
fn begin_transaction(&self) -> Result<()>
[src]
fn end_transaction(&self) -> Result<()>
[src]
fn connect(&mut self, reader: Option<&str>) -> Result<()>
[src]
fn send_data(&self, templ: &[u8], data: &[u8]) -> Result<(StatusWord, Vec<u8>)>
[src]
Auto Trait Implementations
impl RefUnwindSafe for PcscHardware
impl Send for PcscHardware
impl Sync for PcscHardware
impl Unpin for PcscHardware
impl UnwindSafe for PcscHardware
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,