pub trait CheckIndex { // Required method fn check_index(&self, index: usize) -> Result<(), ParseError>; }