Type Alias etherparse::ErrorField
source · pub type ErrorField = ValueType;
std
only.Expand description
Deprecated use err::ReadError instead or use the specific error type returned by operation you are using.
Aliased Type§
enum ErrorField {
Show 14 variants
VlanId,
VlanPcp,
IpFragmentOffset,
Ipv4Dscp,
Ipv4Ecn,
Ipv6FlowLabel,
Ipv4PayloadLength,
Ipv6PayloadLength,
UdpPayloadLengthIpv4,
UdpPayloadLengthIpv6,
TcpPayloadLengthIpv4,
TcpPayloadLengthIpv6,
Icmpv6PayloadLength,
LinuxSllType,
}
Variants§
VlanId
VLAN identifier field present in a crate::SingleVlanHeader
.
VlanPcp
VLAN PCP (Priority Code Point) field in a crate::SingleVlanHeader
.
IpFragmentOffset
IP Fragment offset present in the IPv4 header and IPv6 fragmentation header.
Ipv4Dscp
IPv4 Header DSCP (Differentiated Services Code Point) field
present in an crate::Ipv4Header
.
Ipv4Ecn
IPv4 Header ECN (Explicit Congestion Notification) field
present in an crate::Ipv4Header
.
Ipv6FlowLabel
IPv6 Header Flow Label field present in crate::Ipv6Header
.
Ipv4PayloadLength
IPv4 Header “total length” field based on the payload length after the header.
Ipv6PayloadLength
IPv6 Header “payload length” field present in an
crate::Ipv6Header
.
UdpPayloadLengthIpv4
Payload length used when calculating the checksum of a
crate::UdpHeader
for IPv4.
UdpPayloadLengthIpv6
Payload length used when calculating the checksum of a
crate::UdpHeader
for IPv6.
TcpPayloadLengthIpv4
Payload length used when calculating the checksum of a
crate::TcpHeader
for IPv4.
TcpPayloadLengthIpv6
Payload length used when calculating the checksum of a
crate::TcpHeader
for IPv6.
Icmpv6PayloadLength
Variable length data of an ICMPv6 packet.
LinuxSllType
Packet type of a Linux Cooked Capture v1 (SLL)