Enum bdk::keys::DescriptorKey [−][src]
pub enum DescriptorKey<Ctx: ScriptContext> { // some variants omitted }
Expand description
Container for public or secret keys
Implementations
Create an instance given a public key and a set of valid networks
Create an instance given a secret key and a set of valid networks
Override the computed set of valid networks
Trait Implementations
The “identity” conversion is used internally by some bdk::fragment
s
Turn the key into a DescriptorKey
within the requested ScriptContext
Auto Trait Implementations
impl<Ctx> RefUnwindSafe for DescriptorKey<Ctx> where
Ctx: RefUnwindSafe,
impl<Ctx> Send for DescriptorKey<Ctx> where
Ctx: Send,
impl<Ctx> Sync for DescriptorKey<Ctx> where
Ctx: Sync,
impl<Ctx> Unpin for DescriptorKey<Ctx> where
Ctx: Unpin,
impl<Ctx> UnwindSafe for DescriptorKey<Ctx> where
Ctx: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V