Trait HotConfig

Source
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§

Source

fn build_hot_config( &mut self, ident: Self, listener: Receiver<ConfigResponse>, ) -> Result<(), BoxError>

Source

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.

Implementors§