Enum async_hwi::AddressScript
source · pub enum AddressScript {
P2TR(DerivationPath),
Miniscript {
index: u32,
change: bool,
},
}
Variants§
P2TR(DerivationPath)
Must be a bip86 path.
Miniscript
Miniscript requires the policy be loaded into the device.
Trait Implementations§
source§impl Clone for AddressScript
impl Clone for AddressScript
source§fn clone(&self) -> AddressScript
fn clone(&self) -> AddressScript
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AddressScript
impl Debug for AddressScript
source§impl PartialEq for AddressScript
impl PartialEq for AddressScript
source§fn eq(&self, other: &AddressScript) -> bool
fn eq(&self, other: &AddressScript) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AddressScript
impl StructuralPartialEq for AddressScript
Auto Trait Implementations§
impl Freeze for AddressScript
impl RefUnwindSafe for AddressScript
impl Send for AddressScript
impl Sync for AddressScript
impl Unpin for AddressScript
impl UnwindSafe for AddressScript
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.