pub trait Transport {
type Error: Debug;
// Required method
fn exchange<'life0, 'life1, 'async_trait>(
&'life0 self,
command: &'life1 APDUCommand,
) -> Pin<Box<dyn Future<Output = Result<(StatusWord, Vec<u8>), Self::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}
Expand description
Asynchronous communication layer between the bitcoin client and the Ledger device.