[−][src]Trait weechat::config::ConfigReloadCallback
Trait for the config reload callback.
This trait can be implemented or a normal function or coroutine can be passed as the callback.
Required methods
fn callback(&mut self, weechat: &Weechat, config: &Conf)
Function called when configuration file is reloaded with /reload
Arguments
-
weeechat
- A reference to the weechat context. -
config
- A reference to the non-owned config.