Struct rtlola_input_plugins::pcap_plugin::PcapRecord
source · pub struct PcapRecord(_);
Expand description
Represents a raw network packet
Trait Implementations§
source§impl Record for PcapRecord
impl Record for PcapRecord
§type CreationData = IpNetwork
type CreationData = IpNetwork
Arbitrary type of the data provided at creation time to help initializing the input method.
source§fn func_for_input(
name: &str,
data: Self::CreationData
) -> Result<ValueProjection<Self, PcapError>, PcapError>
fn func_for_input(
name: &str,
data: Self::CreationData
) -> Result<ValueProjection<Self, PcapError>, PcapError>
Given the name of an input this function returns a function that given a record returns the value for that input.