Trait sapio_miniscript::ForEachKey
source · pub trait ForEachKey<Pk: MiniscriptKey> {
// Required method
fn for_each_key<'a, F: FnMut(ForEach<'a, Pk>) -> bool>(
&'a self,
pred: F
) -> bool
where Pk: 'a,
Pk::Hash: 'a;
// Provided method
fn for_any_key<'a, F: FnMut(ForEach<'a, Pk>) -> bool>(
&'a self,
pred: F
) -> bool
where Pk: 'a,
Pk::Hash: 'a { ... }
}
Expand description
Trait describing the ability to iterate over every key
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.