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
pub trait FlowExtraction {
// Required method
fn payload(&self) -> &[u8] ⓘ;
// Provided method
fn extract_flow(&self) -> Result<Flow, Error> { ... }
}
Trait that provides necessary information to indicate a flow