pub enum Key {
Slip77(MasterBlindingKey),
Bare(DescriptorPublicKey),
View(DescriptorSecretKey),
}
Expand description
A description of a blinding key
Variants§
Slip77(MasterBlindingKey)
Blinding key is computed using SLIP77 with the given master key
Bare(DescriptorPublicKey)
Blinding key is given directly
View(DescriptorSecretKey)
Blinding key is given directly, as a secret key
Implementations§
Source§impl Key
impl Key
pub fn from_elip151<T: Extension + ParseableExt>( descriptor: &OrdinaryDescriptor<DescriptorPublicKey, T>, ) -> Result<Self, Error>
Trait Implementations§
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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