pub struct BleTransport { /* private fields */ }
Expand description
Transport for listing and connecting to BLE connected Ledger devices
Implementations§
Trait Implementations§
Source§impl Transport for BleTransport
Transport implementation for BleTransport
impl Transport for BleTransport
Transport implementation for BleTransport
Source§fn list<'life0, 'async_trait>(
&'life0 mut self,
_filters: Self::Filters,
) -> Pin<Box<dyn Future<Output = Result<Vec<LedgerInfo>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list<'life0, 'async_trait>(
&'life0 mut self,
_filters: Self::Filters,
) -> Pin<Box<dyn Future<Output = Result<Vec<LedgerInfo>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
List BLE connected ledger devices
Source§fn connect<'life0, 'async_trait>(
&'life0 mut self,
info: Self::Info,
) -> Pin<Box<dyn Future<Output = Result<Self::Device, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connect<'life0, 'async_trait>(
&'life0 mut self,
info: Self::Info,
) -> Pin<Box<dyn Future<Output = Result<Self::Device, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Connect to a specific ledger device
Note: this must follow a Self::list operation to match info
with known peripherals
Auto Trait Implementations§
impl Freeze for BleTransport
impl !RefUnwindSafe for BleTransport
impl Send for BleTransport
impl Sync for BleTransport
impl Unpin for BleTransport
impl !UnwindSafe for BleTransport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more