Skip to main content

KeySetInfosMethods

Trait KeySetInfosMethods 

Source
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§

Source

fn active(&self) -> impl Iterator<Item = &KeySetInfo> + '_

Filter for active keysets

Source

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".

Implementors§