FlowData

Enum FlowData 

Source
pub enum FlowData {
Show 67 variants SampledHeader(SampledHeader), SampledEthernet(SampledEthernet), SampledIpv4(SampledIpv4), SampledIpv6(SampledIpv6), ExtendedSwitch(ExtendedSwitch), ExtendedRouter(ExtendedRouter), ExtendedGateway(ExtendedGateway), ExtendedUser(ExtendedUser), ExtendedUrl(ExtendedUrl), ExtendedMpls(ExtendedMpls), ExtendedNat(ExtendedNat), ExtendedMplsTunnel(ExtendedMplsTunnel), ExtendedMplsVc(ExtendedMplsVc), ExtendedMplsFec(ExtendedMplsFec), ExtendedMplsLvpFec(ExtendedMplsLvpFec), ExtendedVlanTunnel(ExtendedVlanTunnel), Extended80211Payload(Extended80211Payload), Extended80211Rx(Extended80211Rx), Extended80211Tx(Extended80211Tx), Extended80211Aggregation(Extended80211Aggregation), ExtendedOpenFlowV1(ExtendedOpenFlowV1), ExtendedFc(ExtendedFc), ExtendedQueueLength(ExtendedQueueLength), ExtendedNatPort(ExtendedNatPort), ExtendedL2TunnelEgress(ExtendedL2TunnelEgress), ExtendedL2TunnelIngress(ExtendedL2TunnelIngress), ExtendedIpv4TunnelEgress(ExtendedIpv4TunnelEgress), ExtendedIpv4TunnelIngress(ExtendedIpv4TunnelIngress), ExtendedIpv6TunnelEgress(ExtendedIpv6TunnelEgress), ExtendedIpv6TunnelIngress(ExtendedIpv6TunnelIngress), ExtendedDecapsulateEgress(ExtendedDecapsulateEgress), ExtendedDecapsulateIngress(ExtendedDecapsulateIngress), ExtendedVniEgress(ExtendedVniEgress), ExtendedVniIngress(ExtendedVniIngress), ExtendedInfiniBandLrh(ExtendedInfiniBandLrh), ExtendedInfiniBandGrh(ExtendedInfiniBandGrh), ExtendedInfiniBandBth(ExtendedInfiniBandBth), ExtendedVlanIn(ExtendedVlanIn), ExtendedVlanOut(ExtendedVlanOut), ExtendedEgressQueue(ExtendedEgressQueue), ExtendedAcl(ExtendedAcl), ExtendedFunction(ExtendedFunction), ExtendedTransit(ExtendedTransit), ExtendedQueue(ExtendedQueue), ExtendedHwTrap(ExtendedHwTrap), ExtendedLinuxDropReason(ExtendedLinuxDropReason), Transaction(Transaction), ExtendedNfsStorageTransaction(ExtendedNfsStorageTransaction), ExtendedScsiStorageTransaction(ExtendedScsiStorageTransaction), ExtendedHttpTransaction(ExtendedHttpTransaction), ExtendedSocketIpv4(ExtendedSocketIpv4), ExtendedSocketIpv6(ExtendedSocketIpv6), ExtendedProxySocketIpv4(ExtendedProxySocketIpv4), ExtendedProxySocketIpv6(ExtendedProxySocketIpv6), MemcacheOperation(MemcacheOperation), HttpRequestDeprecated(HttpRequestDeprecated), AppOperation(AppOperation), AppParentContext(AppParentContext), AppInitiator(AppInitiator), AppTarget(AppTarget), HttpRequest(HttpRequest), ExtendedProxyRequest(ExtendedProxyRequest), ExtendedNavTiming(ExtendedNavTiming), ExtendedTcpInfo(ExtendedTcpInfo), ExtendedEntities(ExtendedEntities), ExtendedBstEgressQueue(ExtendedBstEgressQueue), Unknown { format: DataFormat, data: Vec<u8>, },
}
Expand description

Flow data types

Variants§

§

SampledHeader(SampledHeader)

Sampled Header - Format (0,1)

§

SampledEthernet(SampledEthernet)

Sampled Ethernet - Format (0,2)

§

SampledIpv4(SampledIpv4)

Sampled IPv4 - Format (0,3)

§

SampledIpv6(SampledIpv6)

Sampled IPv6 - Format (0,4)

§

ExtendedSwitch(ExtendedSwitch)

Extended Switch - Format (0,1001)

§

ExtendedRouter(ExtendedRouter)

Extended Router - Format (0,1002)

§

ExtendedGateway(ExtendedGateway)

Extended Gateway - Format (0,1003)

§

ExtendedUser(ExtendedUser)

Extended User - Format (0,1004)

§

ExtendedUrl(ExtendedUrl)

Extended URL - Format (0,1005) - DEPRECATED

§

ExtendedMpls(ExtendedMpls)

Extended MPLS - Format (0,1006)

§

ExtendedNat(ExtendedNat)

Extended NAT - Format (0,1007)

§

ExtendedMplsTunnel(ExtendedMplsTunnel)

Extended MPLS Tunnel - Format (0,1008)

§

ExtendedMplsVc(ExtendedMplsVc)

Extended MPLS VC - Format (0,1009)

§

ExtendedMplsFec(ExtendedMplsFec)

Extended MPLS FEC - Format (0,1010)

§

ExtendedMplsLvpFec(ExtendedMplsLvpFec)

Extended MPLS LVP FEC - Format (0,1011)

§

ExtendedVlanTunnel(ExtendedVlanTunnel)

Extended VLAN Tunnel - Format (0,1012)

§

Extended80211Payload(Extended80211Payload)

Extended 802.11 Payload - Format (0,1013)

§

Extended80211Rx(Extended80211Rx)

Extended 802.11 RX - Format (0,1014)

§

Extended80211Tx(Extended80211Tx)

Extended 802.11 TX - Format (0,1015)

§

Extended80211Aggregation(Extended80211Aggregation)

Extended 802.11 Aggregation - Format (0,1016)

§

ExtendedOpenFlowV1(ExtendedOpenFlowV1)

Extended OpenFlow v1 - Format (0,1017) - DEPRECATED

§

ExtendedFc(ExtendedFc)

Extended Fiber Channel - Format (0,1018)

§

ExtendedQueueLength(ExtendedQueueLength)

Extended Queue Length - Format (0,1019)

§

ExtendedNatPort(ExtendedNatPort)

Extended NAT Port - Format (0,1020)

§

ExtendedL2TunnelEgress(ExtendedL2TunnelEgress)

Extended L2 Tunnel Egress - Format (0,1021)

§

ExtendedL2TunnelIngress(ExtendedL2TunnelIngress)

Extended L2 Tunnel Ingress - Format (0,1022)

§

ExtendedIpv4TunnelEgress(ExtendedIpv4TunnelEgress)

Extended IPv4 Tunnel Egress - Format (0,1023)

§

ExtendedIpv4TunnelIngress(ExtendedIpv4TunnelIngress)

Extended IPv4 Tunnel Ingress - Format (0,1024)

§

ExtendedIpv6TunnelEgress(ExtendedIpv6TunnelEgress)

Extended IPv6 Tunnel Egress - Format (0,1025)

§

ExtendedIpv6TunnelIngress(ExtendedIpv6TunnelIngress)

Extended IPv6 Tunnel Ingress - Format (0,1026)

§

ExtendedDecapsulateEgress(ExtendedDecapsulateEgress)

Extended Decapsulate Egress - Format (0,1027)

§

ExtendedDecapsulateIngress(ExtendedDecapsulateIngress)

Extended Decapsulate Ingress - Format (0,1028)

§

ExtendedVniEgress(ExtendedVniEgress)

Extended VNI Egress - Format (0,1029)

§

ExtendedVniIngress(ExtendedVniIngress)

Extended VNI Ingress - Format (0,1030)

§

ExtendedInfiniBandLrh(ExtendedInfiniBandLrh)

Extended InfiniBand LRH - Format (0,1031)

§

ExtendedInfiniBandGrh(ExtendedInfiniBandGrh)

Extended InfiniBand GRH - Format (0,1032)

§

ExtendedInfiniBandBth(ExtendedInfiniBandBth)

Extended InfiniBand BTH - Format (0,1033)

§

ExtendedVlanIn(ExtendedVlanIn)

Extended VLAN In - Format (0,1034)

§

ExtendedVlanOut(ExtendedVlanOut)

Extended VLAN Out - Format (0,1035)

§

ExtendedEgressQueue(ExtendedEgressQueue)

Extended Egress Queue - Format (0,1036)

§

ExtendedAcl(ExtendedAcl)

Extended ACL - Format (0,1037)

§

ExtendedFunction(ExtendedFunction)

Extended Function - Format (0,1038)

§

ExtendedTransit(ExtendedTransit)

Extended Transit - Format (0,1039)

§

ExtendedQueue(ExtendedQueue)

Extended Queue - Format (0,1040)

§

ExtendedHwTrap(ExtendedHwTrap)

Extended HW Trap - Format (0,1041)

§

ExtendedLinuxDropReason(ExtendedLinuxDropReason)

Extended Linux Drop Reason - Format (0,1042)

§

Transaction(Transaction)

Transaction - Format (0,2000)

§

ExtendedNfsStorageTransaction(ExtendedNfsStorageTransaction)

Extended NFS Storage Transaction - Format (0,2001)

§

ExtendedScsiStorageTransaction(ExtendedScsiStorageTransaction)

Extended SCSI Storage Transaction - Format (0,2002)

§

ExtendedHttpTransaction(ExtendedHttpTransaction)

Extended HTTP Transaction - Format (0,2003)

§

ExtendedSocketIpv4(ExtendedSocketIpv4)

Extended Socket IPv4 - Format (0,2100)

§

ExtendedSocketIpv6(ExtendedSocketIpv6)

Extended Socket IPv6 - Format (0,2101)

§

ExtendedProxySocketIpv4(ExtendedProxySocketIpv4)

Extended Proxy Socket IPv4 - Format (0,2102)

§

ExtendedProxySocketIpv6(ExtendedProxySocketIpv6)

Extended Proxy Socket IPv6 - Format (0,2103)

§

MemcacheOperation(MemcacheOperation)

Memcache Operation - Format (0,2200)

§

HttpRequestDeprecated(HttpRequestDeprecated)

HTTP Request - Format (0,2201) - DEPRECATED

§

AppOperation(AppOperation)

Application Operation - Format (0,2202)

§

AppParentContext(AppParentContext)

Application Parent Context - Format (0,2203)

§

AppInitiator(AppInitiator)

Application Initiator - Format (0,2204)

§

AppTarget(AppTarget)

Application Target - Format (0,2205)

§

HttpRequest(HttpRequest)

HTTP Request - Format (0,2206)

§

ExtendedProxyRequest(ExtendedProxyRequest)

Extended Proxy Request - Format (0,2207)

§

ExtendedNavTiming(ExtendedNavTiming)

Extended Nav Timing - Format (0,2208)

§

ExtendedTcpInfo(ExtendedTcpInfo)

Extended TCP Info - Format (0,2209)

§

ExtendedEntities(ExtendedEntities)

Extended Entities - Format (0,2210)

§

ExtendedBstEgressQueue(ExtendedBstEgressQueue)

Extended BST Egress Queue - Format (4413,1)

§

Unknown

Unknown or unparsed format

Fields

§format: DataFormat
§data: Vec<u8>

Trait Implementations§

Source§

impl Clone for FlowData

Source§

fn clone(&self) -> FlowData

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FlowData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for FlowData

Source§

fn eq(&self, other: &FlowData) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for FlowData

Source§

impl StructuralPartialEq for FlowData

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.