configcat 0.1.5

ConfigCat Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// Specifies the behaviors for flag overrides.
#[derive(Debug)]
pub enum OverrideBehavior {
    /// When evaluating values, the SDK will not use feature flags & settings from the ConfigCat CDN, but it will use
    /// all feature flags & settings that are loaded from local-override sources.
    LocalOnly,
    /// When evaluating values, the SDK will use all feature flags & settings that are downloaded from the ConfigCat CDN,
    /// plus all feature flags & settings that are loaded from local-override sources. If a feature flag or a setting is
    /// defined both in the fetched and the local-override source then the local-override version will take precedence.
    LocalOverRemote,
    /// When evaluating values, the SDK will use all feature flags & settings that are downloaded from the ConfigCat CDN,
    /// plus all feature flags & settings that are loaded from local-override sources. If a feature flag or a setting is
    /// defined both in the fetched and the local-override source then the fetched version will take precedence.
    RemoteOverLocal,
}