pub type FrameIter = Box<dyn Iterator<Item = Result<(Frame, u16)>> + Send>;
pub struct FrameIter(/* private fields */);