pub trait Transport {
    fn call(&mut self, instruction: u8, data: &[u8]) -> Result<Vec<u8>>;
    fn call_iso(
        &mut self,
        class: u8,
        instruction: u8,
        p1: u8,
        p2: u8,
        data: &[u8]
    ) -> Result<Vec<u8>>; fn select(&mut self, aid: Vec<u8>) -> Result<()>; fn instruct(&mut self, instruction: u8) -> Result<Vec<u8>> { ... } }

Required Methods§

The minimal higher-level interface to a transport.

Call in the funny ISO 7816 fashion with three extra parameters. Note that only the PCSC transport implements this, not the CTAP transport.

Provided Methods§

Shortcut for when no data is needed.

Trait Implementations§

Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.

Implementors§