[−][src]Trait mammoth_setup::MammothInterface
Trait that contains the functions that should be implemented by a module or a handler.
Required methods
fn on_validation(&self, _: &mut dyn Logger) -> Result<(), Error>
Function that is called when the server is validating the configuration.
Provided methods
fn on_load(&self)
Function that is called when the library is loaded.
fn on_shutdown(&self)
Function that is called when the server is shut down.