nacos_sdk::api::config

Trait ConfigChangeListener

Source
pub trait ConfigChangeListener: Send + Sync {
    // Required method
    fn notify(&self, config_resp: ConfigResponse);
}
Expand description

The ConfigChangeListener receive a notify of ConfigResponse.

Required Methods§

Source

fn notify(&self, config_resp: ConfigResponse)

Implementors§