netstack3_datagram

Trait DualStackConverter

Source
pub trait DualStackConverter<I: IpExt, D: WeakDeviceIdentifier, S: DatagramSocketSpec>:
    'static
    + OwnedOrRefsBidirectionalConverter<S::ListenerIpAddr<I>, DualStackListenerIpAddr<I::Addr, <S::AddrSpec as SocketMapAddrSpec>::LocalIdentifier>>
    + OwnedOrRefsBidirectionalConverter<S::ConnIpAddr<I>, DualStackConnIpAddr<I::Addr, <S::AddrSpec as SocketMapAddrSpec>::LocalIdentifier, <S::AddrSpec as SocketMapAddrSpec>::RemoteIdentifier>>
    + OwnedOrRefsBidirectionalConverter<S::ConnState<I, D>, DualStackConnState<I, D, S>> { }
Expand description

A marker trait for the requirements of DualStackDatagramBoundStateContext::ds_converter.

Implementors§