| 60 | /// Represents an input source where every MMIO access is read from a global input stream. |
| 61 | #[derive(Default)] |
| 62 | pub struct MultiStream { |
| 63 | /// A mapping from MMIO address to the target input stream. |
| 64 | pub streams: HashMap<StreamKey, StreamData>, |
| 65 | pub last_read: Option<StreamKey>, |
| 66 | pub tracer: Option<Box<dyn IoTracerAny>>, |
| 67 | } |
| 68 | |
| 69 | impl std::fmt::Debug for MultiStream { |
| 70 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
nothing calls this directly
no outgoing calls
no test coverage detected