[][src]Struct miniscript::descriptor::DescriptorPublicKeyCtx

pub struct DescriptorPublicKeyCtx<'secp, C: 'secp + Verification> { /* fields omitted */ }

Context information for deriving a public key from DescriptorPublicKey

Implementations

impl<'secp, C: Verification> DescriptorPublicKeyCtx<'secp, C>[src]

pub fn new(secp_ctx: &'secp Secp256k1<C>, child_number: ChildNumber) -> Self[src]

Create a new context

Trait Implementations

impl<'secp, C: Verification> Clone for DescriptorPublicKeyCtx<'secp, C>[src]

impl<'secp, C: Verification> Copy for DescriptorPublicKeyCtx<'secp, C>[src]

impl<'secp, C: Debug + 'secp + Verification> Debug for DescriptorPublicKeyCtx<'secp, C>[src]

impl<'secp, C: Verification> ToPublicKey<DescriptorPublicKeyCtx<'secp, C>> for DescriptorPublicKey[src]

Auto Trait Implementations

impl<'secp, C> RefUnwindSafe for DescriptorPublicKeyCtx<'secp, C> where
    C: RefUnwindSafe

impl<'secp, C> Send for DescriptorPublicKeyCtx<'secp, C>

impl<'secp, C> Sync for DescriptorPublicKeyCtx<'secp, C>

impl<'secp, C> Unpin for DescriptorPublicKeyCtx<'secp, C>

impl<'secp, C> UnwindSafe for DescriptorPublicKeyCtx<'secp, C> where
    C: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.