pub trait SyncPlugin: Plugin {
// Provided methods
fn on_sync_push(&mut self, issues: &[Issue]) -> PluginResult<()> { ... }
fn on_sync_pull(&mut self, issues: &[Issue]) -> PluginResult<()> { ... }
}Expand description
Convenience trait for sync hooks
Provided Methods§
fn on_sync_push(&mut self, issues: &[Issue]) -> PluginResult<()>
fn on_sync_pull(&mut self, issues: &[Issue]) -> PluginResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".