pub struct SupportedDevice<Message, Id = ()>{ /* private fields */ }Implementations§
Source§impl<Message, Id> SupportedDevice<Message, Id>
impl<Message, Id> SupportedDevice<Message, Id>
pub fn device(&self) -> &Arc<dyn HWI + Sync + Send>
pub fn version(&self) -> Option<&Version>
pub fn fingerprint(&self) -> &Fingerprint
pub fn kind(&self) -> &DeviceKind
pub fn get_extended_pubkey(&self, id: Id, path: &DerivationPath)
pub fn register_wallet(&self, id: Id, name: &str, policy: &str)
pub fn is_wallet_registered(&self, id: Id, name: &str, policy: &str)
pub fn display_address(&self, id: Id, script: &AddressScript)
pub fn sign_tx(&self, id: Id, tx: Psbt)
Trait Implementations§
Source§impl<Message, Id> Clone for SupportedDevice<Message, Id>
impl<Message, Id> Clone for SupportedDevice<Message, Id>
Source§fn clone(&self) -> SupportedDevice<Message, Id>
fn clone(&self) -> SupportedDevice<Message, Id>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<Message, Id> Freeze for SupportedDevice<Message, Id>
impl<Message, Id = ()> !RefUnwindSafe for SupportedDevice<Message, Id>
impl<Message, Id> Send for SupportedDevice<Message, Id>
impl<Message, Id> Sync for SupportedDevice<Message, Id>where
Id: Sync,
impl<Message, Id> Unpin for SupportedDevice<Message, Id>where
Id: Unpin,
impl<Message, Id> UnsafeUnpin for SupportedDevice<Message, Id>
impl<Message, Id = ()> !UnwindSafe for SupportedDevice<Message, Id>
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