pub trait GrowthBookClientTrait:
Debug
+ Send
+ Sync {
// Required methods
fn is_on(
&self,
feature_name: &str,
user_attributes: Option<Vec<GrowthBookAttribute>>,
) -> bool;
fn is_off(
&self,
feature_name: &str,
user_attributes: Option<Vec<GrowthBookAttribute>>,
) -> bool;
fn feature_result(
&self,
feature_name: &str,
user_attributes: Option<Vec<GrowthBookAttribute>>,
) -> FeatureResult;
fn total_features(&self) -> usize;
}