pub enum Ipv6PayloadLength {
Declared(u16),
Unspecified,
}Expand description
Meaning of the IPv6 base header’s 16-bit Payload Length field.
Variants§
Declared(u16)
A nonzero payload length declared directly by the base header.
Unspecified
A zero field whose nonempty payload extent cannot be resolved from the base header alone.
An ordinary empty payload also encodes zero. A nonempty tail may include a Jumbo Payload option or lower-layer padding and cannot be resolved at this parsing layer.
Trait Implementations§
Source§impl Clone for Ipv6PayloadLength
impl Clone for Ipv6PayloadLength
impl Copy for Ipv6PayloadLength
Source§impl Debug for Ipv6PayloadLength
impl Debug for Ipv6PayloadLength
impl Eq for Ipv6PayloadLength
Source§impl PartialEq for Ipv6PayloadLength
impl PartialEq for Ipv6PayloadLength
impl StructuralPartialEq for Ipv6PayloadLength
Auto Trait Implementations§
impl Freeze for Ipv6PayloadLength
impl RefUnwindSafe for Ipv6PayloadLength
impl Send for Ipv6PayloadLength
impl Sync for Ipv6PayloadLength
impl Unpin for Ipv6PayloadLength
impl UnsafeUnpin for Ipv6PayloadLength
impl UnwindSafe for Ipv6PayloadLength
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more