Enum bdk_chain::bitcoin::psbt::SigningAlgorithm
pub enum SigningAlgorithm {
Ecdsa,
Schnorr,
}
Expand description
Signing algorithms supported by the Bitcoin network.
Variants§
Ecdsa
The Elliptic Curve Digital Signature Algorithm (see wikipedia).
Schnorr
The Schnorr signature algorithm (see wikipedia).
Trait Implementations§
§impl Clone for SigningAlgorithm
impl Clone for SigningAlgorithm
§fn clone(&self) -> SigningAlgorithm
fn clone(&self) -> SigningAlgorithm
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 more§impl Debug for SigningAlgorithm
impl Debug for SigningAlgorithm
§impl Hash for SigningAlgorithm
impl Hash for SigningAlgorithm
§impl Ord for SigningAlgorithm
impl Ord for SigningAlgorithm
§fn cmp(&self, other: &SigningAlgorithm) -> Ordering
fn cmp(&self, other: &SigningAlgorithm) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for SigningAlgorithm
impl PartialEq for SigningAlgorithm
§fn eq(&self, other: &SigningAlgorithm) -> bool
fn eq(&self, other: &SigningAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for SigningAlgorithm
impl PartialOrd for SigningAlgorithm
§fn partial_cmp(&self, other: &SigningAlgorithm) -> Option<Ordering>
fn partial_cmp(&self, other: &SigningAlgorithm) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for SigningAlgorithm
impl Eq for SigningAlgorithm
impl StructuralPartialEq for SigningAlgorithm
Auto Trait Implementations§
impl Freeze for SigningAlgorithm
impl RefUnwindSafe for SigningAlgorithm
impl Send for SigningAlgorithm
impl Sync for SigningAlgorithm
impl Unpin for SigningAlgorithm
impl UnwindSafe for SigningAlgorithm
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more