pub trait KeySetInfosMethods {
// Required methods
fn active(&self) -> impl Iterator<Item = &KeySetInfo>;
fn unit(&self, unit: CurrencyUnit) -> impl Iterator<Item = &KeySetInfo>;
}
Expand description
Utility methods for KeySetInfos
Required Methods§
Sourcefn active(&self) -> impl Iterator<Item = &KeySetInfo>
fn active(&self) -> impl Iterator<Item = &KeySetInfo>
Filter for active keysets
Sourcefn unit(&self, unit: CurrencyUnit) -> impl Iterator<Item = &KeySetInfo>
fn unit(&self, unit: CurrencyUnit) -> impl Iterator<Item = &KeySetInfo>
Filter keysets for specific unit
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.