1pub trait FrameMeta { 2 fn frame_header_len() -> usize; 3 fn frame_match(data : &[u8]) -> bool; 4 fn frame_totol_len(data: &[u8]) -> usize; 5}