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§
fn nds_converter( core_ctx: &CC, ) -> impl NonDualStackConverter<I, CC::WeakDeviceId, Self>
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.