document the plugin module and make Plugin::handle a required method
This commit is contained in:
parent
fea28e6171
commit
06380c55cc
2 changed files with 18 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
use error::Error;
|
||||
use plugin::{Plugin, PluginProxy};
|
||||
use plugin::{Plugin, PluginProxy, PluginReturn};
|
||||
|
||||
use minidom::Element;
|
||||
|
||||
|
|
@ -98,4 +98,8 @@ impl Plugin for PresencePlugin {
|
|||
fn get_proxy(&mut self) -> &mut PluginProxy {
|
||||
&mut self.proxy
|
||||
}
|
||||
|
||||
fn handle(&mut self, _elem: &Element) -> PluginReturn {
|
||||
PluginReturn::Continue
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue