Trait Events
Source pub trait Events {
Show 13 methods
// Provided methods
fn after_delete(&self, data: &JsonValue) -> JsonValue { ... }
fn after_get(&self, data: &JsonValue) -> JsonValue { ... }
fn after_post(&self, data: &JsonValue) -> JsonValue { ... }
fn after_put(&self, data: &JsonValue) -> JsonValue { ... }
fn before_delete(&self, data: &JsonValue) -> JsonValue { ... }
fn before_get(&self, data: &JsonValue) -> JsonValue { ... }
fn before_post(&self, data: &JsonValue) -> JsonValue { ... }
fn before_put(&self, data: &JsonValue) -> JsonValue { ... }
fn on_error(&self, err: DataDotError) -> DataDotError { ... }
fn on_load_plugin(&self, data: &JsonValue) -> JsonValue { ... }
fn on_shutdown(&self, data: &JsonValue) -> JsonValue { ... }
fn on_unload_plugin(&self, data: &JsonValue) -> JsonValue { ... }
fn process_command(&self, message: &[u8], data: &JsonValue) -> JsonValue { ... }
}