[−][src]Enum miniscript::miniscript::iter::PkPkh
Enum representing either key or a key hash value coming from a miniscript item inside AST
Variants
Plain public key
HashedPubkey(Pk::Hash)
Hashed public key
Trait Implementations
impl<Pk: Clone + MiniscriptKey> Clone for PkPkh<Pk> where
Pk::Hash: Clone,
[src]
Pk::Hash: Clone,
impl<Pk: Debug + MiniscriptKey> Debug for PkPkh<Pk> where
Pk::Hash: Debug,
[src]
Pk::Hash: Debug,
impl<Pk: Eq + MiniscriptKey> Eq for PkPkh<Pk> where
Pk::Hash: Eq,
[src]
Pk::Hash: Eq,
impl<Pk: PartialEq + MiniscriptKey> PartialEq<PkPkh<Pk>> for PkPkh<Pk> where
Pk::Hash: PartialEq,
[src]
Pk::Hash: PartialEq,
impl<Pk: MiniscriptKey> StructuralEq for PkPkh<Pk>
[src]
impl<Pk: MiniscriptKey> StructuralPartialEq for PkPkh<Pk>
[src]
Auto Trait Implementations
impl<Pk> RefUnwindSafe for PkPkh<Pk> where
Pk: RefUnwindSafe,
<Pk as MiniscriptKey>::Hash: RefUnwindSafe,
[src]
Pk: RefUnwindSafe,
<Pk as MiniscriptKey>::Hash: RefUnwindSafe,
impl<Pk> Send for PkPkh<Pk> where
Pk: Send,
<Pk as MiniscriptKey>::Hash: Send,
[src]
Pk: Send,
<Pk as MiniscriptKey>::Hash: Send,
impl<Pk> Sync for PkPkh<Pk> where
Pk: Sync,
<Pk as MiniscriptKey>::Hash: Sync,
[src]
Pk: Sync,
<Pk as MiniscriptKey>::Hash: Sync,
impl<Pk> Unpin for PkPkh<Pk> where
Pk: Unpin,
<Pk as MiniscriptKey>::Hash: Unpin,
[src]
Pk: Unpin,
<Pk as MiniscriptKey>::Hash: Unpin,
impl<Pk> UnwindSafe for PkPkh<Pk> where
Pk: UnwindSafe,
<Pk as MiniscriptKey>::Hash: UnwindSafe,
[src]
Pk: UnwindSafe,
<Pk as MiniscriptKey>::Hash: UnwindSafe,
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, 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>,