Enum etherparse::ErrorField
source · [−]pub enum ErrorField {
Ipv4PayloadLength,
Ipv4Dscp,
Ipv4Ecn,
Ipv4FragmentsOffset,
Ipv6FlowLabel,
Ipv6FragmentOffset,
VlanTagPriorityCodePoint,
VlanTagVlanId,
}Expand description
Fields that can produce errors when serialized.
Variants
Ipv4PayloadLength
Ipv4Dscp
Ipv4Ecn
Ipv4FragmentsOffset
Ipv6FlowLabel
Ipv6FragmentOffset
Ipv6 fragment header fragment offset field.
VlanTagPriorityCodePoint
VlanTaggingHeader.priority_code_point
VlanTagVlanId
VlanTaggingHeader.vlan_identifier
Trait Implementations
sourceimpl Clone for ErrorField
impl Clone for ErrorField
sourcefn clone(&self) -> ErrorField
fn clone(&self) -> ErrorField
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ErrorField
impl Debug for ErrorField
sourceimpl Display for ErrorField
impl Display for ErrorField
sourceimpl PartialEq<ErrorField> for ErrorField
impl PartialEq<ErrorField> for ErrorField
impl Eq for ErrorField
impl StructuralEq for ErrorField
impl StructuralPartialEq for ErrorField
Auto Trait Implementations
impl RefUnwindSafe for ErrorField
impl Send for ErrorField
impl Sync for ErrorField
impl Unpin for ErrorField
impl UnwindSafe for ErrorField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more