[][src]Trait net_parser_rs::flow::FlowExtraction

pub trait FlowExtraction {
    fn payload(&self) -> &[u8];

    fn extract_flow(&self) -> Result<Flow, Error> { ... }
}

Trait that provides necessary information to indicate a flow

Required methods

fn payload(&self) -> &[u8]

Loading content...

Provided methods

fn extract_flow(&self) -> Result<Flow, Error>

Loading content...

Implementors

impl<'a> FlowExtraction for PcapRecord<'a>[src]

Loading content...