pub struct KeyMapWrapper { /* private fields */ }Expand description
A wrapper around KeyMap that implements GetKey for PSBT signing.
Trait Implementations§
Source§impl Clone for KeyMapWrapper
impl Clone for KeyMapWrapper
Source§fn clone(&self) -> KeyMapWrapper
fn clone(&self) -> KeyMapWrapper
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KeyMapWrapper
impl Debug for KeyMapWrapper
impl Eq for KeyMapWrapper
Source§impl From<BTreeMap<DescriptorPublicKey, DescriptorSecretKey>> for KeyMapWrapper
impl From<BTreeMap<DescriptorPublicKey, DescriptorSecretKey>> for KeyMapWrapper
Source§fn from(
map: BTreeMap<DescriptorPublicKey, DescriptorSecretKey>,
) -> KeyMapWrapper
fn from( map: BTreeMap<DescriptorPublicKey, DescriptorSecretKey>, ) -> KeyMapWrapper
Converts to this type from the input type.
Source§impl GetKey for KeyMapWrapper
impl GetKey for KeyMapWrapper
Source§type Error = GetKeyError
type Error = GetKeyError
An error occurred while getting the key.
Source§fn get_key<C>(
&self,
key_request: KeyRequest,
secp: &Secp256k1<C>,
) -> Result<Option<PrivateKey>, <KeyMapWrapper as GetKey>::Error>where
C: Signing,
fn get_key<C>(
&self,
key_request: KeyRequest,
secp: &Secp256k1<C>,
) -> Result<Option<PrivateKey>, <KeyMapWrapper as GetKey>::Error>where
C: Signing,
Attempts to get the private key for
key_request. Read moreSource§impl PartialEq for KeyMapWrapper
impl PartialEq for KeyMapWrapper
impl StructuralPartialEq for KeyMapWrapper
Auto Trait Implementations§
impl Freeze for KeyMapWrapper
impl RefUnwindSafe for KeyMapWrapper
impl Send for KeyMapWrapper
impl Sync for KeyMapWrapper
impl Unpin for KeyMapWrapper
impl UnsafeUnpin for KeyMapWrapper
impl UnwindSafe for KeyMapWrapper
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