pub trait SpecsUpdateListener: Send + Sync {
// Required methods
fn did_receive_specs_update(
&self,
update: SpecsUpdate,
) -> Result<(), StatsigErr>;
fn get_current_specs_info(&self) -> SpecsInfo;
}Required Methods§
fn did_receive_specs_update( &self, update: SpecsUpdate, ) -> Result<(), StatsigErr>
fn get_current_specs_info(&self) -> SpecsInfo
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".