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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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