Max

Trait Max 

Source
pub trait Max {
    // Required method
    fn max() -> usize;
}
Expand description

Maximum size of a packet header.

Required Methods§

Source

fn max() -> usize

Get the maximum size.

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§

Source§

impl<B> Max for packet::ether::Packet<B>

Source§

impl<B> Max for packet::icmp::echo::Packet<B>

Source§

impl<B> Max for packet::icmp::information::Packet<B>

Source§

impl<B> Max for packet::icmp::parameter_problem::Packet<B>

Source§

impl<B> Max for packet::icmp::previous::Packet<B>

Source§

impl<B> Max for packet::icmp::redirect_message::Packet<B>

Source§

impl<B> Max for packet::icmp::Packet<B>

Source§

impl<B> Max for packet::icmp::timestamp::Packet<B>

Source§

impl<B> Max for packet::ip::v4::option::Option<B>

Source§

impl<B> Max for packet::ip::v4::Packet<B>

Source§

impl<B> Max for packet::ip::v6::Packet<B>

Source§

impl<B> Max for packet::tcp::option::Option<B>

Source§

impl<B> Max for packet::tcp::Packet<B>

Source§

impl<B> Max for packet::udp::Packet<B>