nacos_sdk::api::naming

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