pub enum SignerContext {
Legacy,
Segwitv0,
Tap {
is_internal_key: bool,
},
}👎Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleExpand description
Signing context
Used by our software signers to determine the type of signatures to make
Variants§
Legacy
👎Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleLegacy context
Segwitv0
👎Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleSegwit v0 context (BIP 143)
Tap
👎Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleTaproot context (BIP 340)
Trait Implementations§
Source§impl Clone for SignerContext
impl Clone for SignerContext
Source§fn clone(&self) -> SignerContext
fn clone(&self) -> SignerContext
Returns a duplicate 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