packet_formats::ip

Trait IpProtocol

Source
pub trait IpProtocol:
    From<IpProto>
    + From<u8>
    + Sealed
    + Send
    + Sync
    + 'static { }
Expand description

An IPv4 or IPv6 protocol number.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§