[−][src]Enum slip132::KeyApplication
SLIP 132-defined key applications defining types of scriptPubkey descriptors in which they can be used
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
xprv/xpub: keys that can be used for P2PKH and multisig P2SH scriptPubkey descriptors.
zprv/zpub: keys that can be used for P2WPKH scriptPubkey descriptors
Zprv/Zpub: keys that can be used for multisig P2WSH scriptPubkey descriptors
yprv/ypub: keys that can be used for P2WPKH-in-P2SH scriptPubkey descriptors
Yprv/Ypub: keys that can be used for multisig P2WSH-in-P2SH scriptPubkey descriptors
Trait Implementations
impl Clone for KeyApplication
[src]
pub fn clone(&self) -> KeyApplication
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for KeyApplication
[src]
impl Debug for KeyApplication
[src]
impl Display for KeyApplication
[src]
impl Eq for KeyApplication
[src]
impl FromStr for KeyApplication
[src]
type Err = UnknownKeyApplicationError
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<KeyApplication> for KeyApplication
[src]
pub fn eq(&self, other: &KeyApplication) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StrictDecode for KeyApplication
[src]
pub fn strict_decode<D: Read>(mut d: D) -> Result<Self, Error>
[src]
pub fn strict_deserialize(data: impl AsRef<[u8]>) -> Result<Self, Error>
[src]
impl StrictEncode for KeyApplication
[src]
pub fn strict_encode<E: Write>(&self, mut e: E) -> Result<usize, Error>
[src]
pub fn strict_serialize(&self) -> Result<Vec<u8, Global>, Error>
[src]
impl StructuralEq for KeyApplication
[src]
impl StructuralPartialEq for KeyApplication
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyApplication
[src]
impl Send for KeyApplication
[src]
impl Sync for KeyApplication
[src]
impl Unpin for KeyApplication
[src]
impl UnwindSafe for KeyApplication
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,