pub trait XmlEvents<'input> {
// Required method
fn token(&mut self, token: Token<'input>) -> Result<(), Error>;
// Provided method
fn resolve_entity(
&mut self,
_pub_id: Option<&str>,
_uri: &str,
) -> Result<Option<&'input str>, String> { ... }
}