Trait netstack3_base::socket::DualStackIpExt

source ·
pub trait DualStackIpExt: Ip {
    type OtherVersion: DualStackIpExt<OtherVersion = Self>;
}
Expand description

A dual stack IP extention trait that provides the OtherVersion associated type.

Required Associated Types§

source

type OtherVersion: DualStackIpExt<OtherVersion = Self>

The “other” IP version, e.g. Ipv4 for Ipv6 and vice-versa.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DualStackIpExt for Ipv4

source§

impl DualStackIpExt for Ipv6

Implementors§