1 2 3 4 5 6 7 8 9 10
/// 旧版可录制对象 trait(兼容保留)。 /// /// 新代码优先使用 `rhythm::replay` 子系统。 pub trait Recordable { /// 录制数据的抽象类型。 type Record; /// 导出当前对象的可持久化表示。 fn record(&self) -> String; }