Trait FlowExtraction

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

    // Provided method
    fn extract_flow(&self) -> Result<Flow, Error> { ... }
}
Expand description

Trait that provides necessary information to indicate a flow

Required Methods§

Source

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

Provided Methods§

Implementors§