[][src]Enum bdk::wallet::signer::SignerId

pub enum SignerId<Pk: MiniscriptKey> {
    PkHash(<Pk as MiniscriptKey>::Hash),
    Fingerprint(Fingerprint),
}

Identifier of a signer in the SignersContainers. Used as a key to find the right signer among multiple of them

Variants

PkHash(<Pk as MiniscriptKey>::Hash)
Fingerprint(Fingerprint)

Trait Implementations

impl<Pk: Clone + MiniscriptKey> Clone for SignerId<Pk>[src]

impl<Pk: Debug + MiniscriptKey> Debug for SignerId<Pk>[src]

impl<Pk: Eq + MiniscriptKey> Eq for SignerId<Pk>[src]

impl From<Fingerprint> for SignerId<DescriptorPublicKey>[src]

impl From<Hash> for SignerId<DescriptorPublicKey>[src]

impl<Pk: Hash + MiniscriptKey> Hash for SignerId<Pk>[src]

impl<Pk: PartialEq + MiniscriptKey> PartialEq<SignerId<Pk>> for SignerId<Pk>[src]

impl<Pk: MiniscriptKey> StructuralEq for SignerId<Pk>[src]

impl<Pk: MiniscriptKey> StructuralPartialEq for SignerId<Pk>[src]

Auto Trait Implementations

impl<Pk> RefUnwindSafe for SignerId<Pk> where
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe

impl<Pk> Send for SignerId<Pk> where
    <Pk as MiniscriptKey>::Hash: Send

impl<Pk> Sync for SignerId<Pk> where
    <Pk as MiniscriptKey>::Hash: Sync

impl<Pk> Unpin for SignerId<Pk> where
    <Pk as MiniscriptKey>::Hash: Unpin

impl<Pk> UnwindSafe for SignerId<Pk> where
    <Pk as MiniscriptKey>::Hash: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,