pub struct BitBox<R: Runtime> { /* private fields */ }
Expand description
BitBox client. See from_hid_device()
.
Implementations§
Source§impl<R: Runtime> BitBox<R>
impl<R: Runtime> BitBox<R>
Sourcepub async fn unlock_and_pair(self) -> Result<PairingBitBox<R>, Error>
pub async fn unlock_and_pair(self) -> Result<PairingBitBox<R>, Error>
Invokes the device unlock and pairing.
Auto Trait Implementations§
impl<R> Freeze for BitBox<R>
impl<R> !RefUnwindSafe for BitBox<R>
impl<R> !Send for BitBox<R>
impl<R> !Sync for BitBox<R>
impl<R> Unpin for BitBox<R>where
R: Unpin,
impl<R> !UnwindSafe for BitBox<R>
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