FramePicker
FramePicker
is a Rust library for handling network frame data, designed to solve problems similar to TCP/UART packet sticking.
Features
- Provides a
FramePicker
structure for storing and processing network frame data. - Provides a
FrameMeta
trait for defining the metadata of network frames.
Usage
First, define a type that implements the FrameMeta
trait. Then, create a FramePicker
instance and use it to process network frame data.
let mut picker = new;
let data = ;
picker.feed_data.unwrap;
assert!;
assert!;
Testing
Use the cargo test
command to run test cases.
Contribution
PRs and issues are welcome.