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§
Provided Methods§
fn extract_flow(&self) -> Result<Flow, Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".