Enum miniscript::policy::concrete::DescriptorCtx
source · pub enum DescriptorCtx<Pk> {
Bare,
Sh,
Wsh,
ShWsh,
Tr(Option<Pk>),
}
Expand description
Descriptor context for Policy
compilation into a [Descriptor
]
Variants§
Bare
[Bare][Descriptor::Bare
]
Sh
[Sh][Descriptor::Sh
]
Wsh
[Wsh][Descriptor::Wsh
]
ShWsh
Sh-wrapped [Wsh][Descriptor::Wsh
]
Tr(Option<Pk>)
[Tr][Descriptor::Tr
] where the Option
Auto Trait Implementations§
impl<Pk> RefUnwindSafe for DescriptorCtx<Pk>where Pk: RefUnwindSafe,
impl<Pk> Send for DescriptorCtx<Pk>where Pk: Send,
impl<Pk> Sync for DescriptorCtx<Pk>where Pk: Sync,
impl<Pk> Unpin for DescriptorCtx<Pk>where Pk: Unpin,
impl<Pk> UnwindSafe for DescriptorCtx<Pk>where Pk: UnwindSafe,
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