Trait FlowExtraction
net_parser_rs::flow
pub trait FlowExtraction { fn payload(&self) -> &[u8]; fn extract_flow(&self) -> Result<Flow, Error> { ... } }
Trait that provides necessary information to indicate a flow
fn payload(&self) -> &[u8]
fn extract_flow(&self) -> Result<Flow, Error>
impl<'a> FlowExtraction for PcapRecord<'a>