Skip to main content

FlowExtraction

Trait FlowExtraction 

Source
pub trait FlowExtraction {
    // Required method
    fn extract_flow(&self, l2: L2Info, l3: L3Info) -> Result<Flow, Error>;
}

Required Methods§

Source

fn extract_flow(&self, l2: L2Info, l3: L3Info) -> Result<Flow, Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a> FlowExtraction for Tcp<'a>

Source§

impl<'a> FlowExtraction for Udp<'a>

Source§

impl<'a> FlowExtraction for Vxlan<'a>