pub trait HotConfig {
// Required methods
fn build_hot_config(
&mut self,
ident: Self,
listener: Receiver<ConfigResponse>,
) -> Result<(), BoxError>;
async fn get_hot_config(&self) -> Option<Arc<Self>>;
}
Required Methods§
fn build_hot_config( &mut self, ident: Self, listener: Receiver<ConfigResponse>, ) -> Result<(), BoxError>
async fn get_hot_config(&self) -> Option<Arc<Self>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.