[−][src]Trait ledger_hw_transport::Transport
Associated Types
type Error
Required methods
#[must_use]fn exchange<'life0, 'life1, 'async_trait>(
&'life0 self,
req: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
req: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Provided methods
#[must_use]fn send<'life0, 'life1, 'async_trait>(
&'life0 self,
cla: u8,
ins: u8,
p1: u8,
p2: u8,
data: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, Status), TransportError<Self::Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
&'life0 self,
cla: u8,
ins: u8,
p1: u8,
p2: u8,
data: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, Status), TransportError<Self::Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,