Enum bdk_wallet::signer::SignerContext
source · pub enum SignerContext {
Legacy,
Segwitv0,
Tap {
is_internal_key: bool,
},
}
Expand description
Signing context
Used by our software signers to determine the type of signatures to make
Variants§
Trait Implementations§
source§impl Clone for SignerContext
impl Clone for SignerContext
source§fn clone(&self) -> SignerContext
fn clone(&self) -> SignerContext
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 SignerContext
impl Debug for SignerContext
source§impl PartialEq for SignerContext
impl PartialEq for SignerContext
source§fn eq(&self, other: &SignerContext) -> bool
fn eq(&self, other: &SignerContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SignerContext
impl Eq for SignerContext
impl StructuralPartialEq for SignerContext
Auto Trait Implementations§
impl Freeze for SignerContext
impl RefUnwindSafe for SignerContext
impl Send for SignerContext
impl Sync for SignerContext
impl Unpin for SignerContext
impl UnwindSafe for SignerContext
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