pub trait PacketConsumer<Ret> { fn consume(&mut self, pk: Packet<'_>) -> Option<Ret>; }
trait for objects which process transport stream packets