Trait nacos_sdk::api::naming::NamingEventListener

source ·
pub trait NamingEventListener:
    Send
    + Sync
    + 'static {
    // Required method
    fn event(&self, event: Arc<NamingChangeEvent>);
}
Expand description

The NamingEventListener receive a event of NamingChangeEvent.

Required Methods§

source

fn event(&self, event: Arc<NamingChangeEvent>)

Implementors§