pub trait Executor:
Base
+ Convert
+ Compare {
// Required method
fn to_collection(&self, index: &Option<usize>) -> Collection;
// Provided methods
fn child(&self, _index: usize) -> Result<Collection> { ... }
fn element(
&self,
_symbol: &String,
_index: &Option<usize>,
) -> Result<Collection> { ... }
}