[][src]Trait ledger_transport::exchange::Exchange

pub trait Exchange: Send + Sync {
    pub fn exchange<'life0, 'life1, 'trait_async>(
        &'life0 self,
        command: &'life1 APDUCommand
    ) -> Pin<Box<dyn Future<Output = Result<APDUAnswer, TransportError>> + Send + 'trait_async>>
    where
        'life0: 'trait_async,
        'life1: 'trait_async,
        Self: 'trait_async
; }

Use to talk to the ledger device

Required methods

pub fn exchange<'life0, 'life1, 'trait_async>(
    &'life0 self,
    command: &'life1 APDUCommand
) -> Pin<Box<dyn Future<Output = Result<APDUAnswer, TransportError>> + Send + 'trait_async>> where
    'life0: 'trait_async,
    'life1: 'trait_async,
    Self: 'trait_async, 
[src]

Use to talk to the ledger device

Loading content...

Implementations on Foreign Types

impl Exchange for TransportNativeHID[src]

Loading content...

Implementors

Loading content...