pub type Clock<Stream, Device> = BTreeMap<Stream, BTreeMap<Device, usize>>;
pub struct Clock<Stream, Device> { /* private fields */ }