pub enum SignerId {
PkHash(Hash),
Fingerprint(Fingerprint),
Dummy(u64),
}
Expand description
Identifier of a signer in the SignersContainers
. Used as a key to find the right signer among
multiple of them
Variants
PkHash(Hash)
Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA public key
Fingerprint(Fingerprint)
The fingerprint of a BIP32 extended key
Dummy(u64)
Dummy identifier
Trait Implementations
sourceimpl From<Fingerprint> for SignerId
impl From<Fingerprint> for SignerId
sourcefn from(fing: Fingerprint) -> SignerId
fn from(fing: Fingerprint) -> SignerId
Converts to this type from the input type.
sourceimpl Ord for SignerId
impl Ord for SignerId
sourceimpl PartialOrd<SignerId> for SignerId
impl PartialOrd<SignerId> for SignerId
sourcefn partial_cmp(&self, other: &SignerId) -> Option<Ordering>
fn partial_cmp(&self, other: &SignerId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for SignerId
impl StructuralEq for SignerId
impl StructuralPartialEq for SignerId
Auto Trait Implementations
impl RefUnwindSafe for SignerId
impl Send for SignerId
impl Sync for SignerId
impl Unpin for SignerId
impl UnwindSafe for SignerId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more