pub trait FrameError<E> { // Required methods fn report_error(&mut self, error: E); fn get_error(&self) -> Option<E>; }