pub trait NonDualStackDatagramSpecBoundStateContext<I: IpExt, CC: DeviceIdContext<AnyDevice>, BC>: DatagramSocketSpec {
    // Required method
    fn nds_converter(
        core_ctx: &CC,
    ) -> impl NonDualStackConverter<I, CC::WeakDeviceId, Self>;
}
Expand description

A mirror trait of NonDualStackDatagramBoundStateContext allowing foreign crates to provide blanket impls for it.

This trait repeats all the definitions in NonDualStackDatagramBoundStateContext to provide blanket impls from an implementation on the type implementing DatagramSocketSpec, which is local for foreign implementers.

See NonDualStackDatagramBoundStateContext for details.

Required Methods§

source

fn nds_converter( core_ctx: &CC, ) -> impl NonDualStackConverter<I, CC::WeakDeviceId, Self>

Object Safety§

This trait is not object safe.

Implementors§