Read

Trait Read 

Source
pub trait Read: Authentication {
    // Required methods
    fn requires_auth(&self) -> bool;
    fn slot(&self) -> Option<u8>;

    // Provided method
    fn read<'life0, 'async_trait>(
        &'life0 mut self,
        cvc: Option<String>,
    ) -> Pin<Box<dyn Future<Output = Result<PublicKey, ReadError>> + Send + 'async_trait>>
       where Self: Send + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Command to read and authenticate the cktap card’s public key. SatsCard does not require a CVC but TapSigner and SatsChip do. ref: read

Required Methods§

Source

fn requires_auth(&self) -> bool

Source

fn slot(&self) -> Option<u8>

Provided Methods§

Source

fn read<'life0, 'async_trait>( &'life0 mut self, cvc: Option<String>, ) -> Pin<Box<dyn Future<Output = Result<PublicKey, ReadError>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Implementors§