Enum bitcoin::psbt::SigningAlgorithm
source · 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§
source§impl Clone for SigningAlgorithm
impl Clone for SigningAlgorithm
source§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 moresource§impl Debug for SigningAlgorithm
impl Debug for SigningAlgorithm
source§impl Hash for SigningAlgorithm
impl Hash for SigningAlgorithm
source§impl Ord for SigningAlgorithm
impl Ord for SigningAlgorithm
source§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
source§impl PartialEq<SigningAlgorithm> for SigningAlgorithm
impl PartialEq<SigningAlgorithm> for SigningAlgorithm
source§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 ==
.source§impl PartialOrd<SigningAlgorithm> for SigningAlgorithm
impl PartialOrd<SigningAlgorithm> for SigningAlgorithm
source§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 StructuralEq for SigningAlgorithm
impl StructuralPartialEq for SigningAlgorithm
Auto Trait Implementations§
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