Trait IpExt

Source
pub trait IpExt: Ip {
    type GmpProtoConfigMode: Debug + Copy + Clone + Eq + PartialEq;

    // Required method
    fn should_perform_gmp(addr: MulticastAddr<Self::Addr>) -> bool;
}
Expand description

An extension trait to Ip.

Required Associated Types§

Source

type GmpProtoConfigMode: Debug + Copy + Clone + Eq + PartialEq

The user-controllable mode configuration.

Required Methods§

Source

fn should_perform_gmp(addr: MulticastAddr<Self::Addr>) -> bool

Returns true iff GMP should be performed for the multicast group.

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.

Implementations on Foreign Types§

Source§

impl IpExt for Ipv4

Source§

impl IpExt for Ipv6

Implementors§