configbuilder-pattern-loader 0.1.0

configbuilder-pattern: loader domain, trait contract + tech-agnostic reference implementation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Read-only queries on a [`crate::FeatureSummary`] snapshot.
pub trait FeatureSummaryOps {
    /// Count enabled feature records.
    fn enabled_count(&self) -> usize;

    /// Count disabled feature records.
    fn disabled_count(&self) -> usize;

    /// Count total feature records.
    fn total_count(&self) -> usize;

    /// Return `true` when all records are enabled.
    fn all_enabled(&self) -> bool;
}