flow_record_common/
flow_record.rs

1
2
3
4
5
6
7
8
9
use rmpv::Value;


pub trait FlowRecord {
    fn name() -> &'static str;
    fn descriptor() -> &'static Value;
    fn descriptor_hash() -> u32;
    fn into_value(self) -> Value;
}