pub trait MldSendContext<BT: MldBindingsTypes>:
DeviceIdContext<AnyDevice>
+ IpLayerHandler<Ipv6, BT>
+ IpDeviceMtuContext<Ipv6>
+ MldContextMarker
+ ResourceCounterContext<Self::DeviceId, MldCounters> {
// Required method
fn get_ipv6_link_local_addr(
&mut self,
device: &Self::DeviceId,
) -> Option<LinkLocalUnicastAddr<Ipv6Addr>>;
}Expand description
The execution context capable of sending frames for MLD.
Required Methods§
Sourcefn get_ipv6_link_local_addr(
&mut self,
device: &Self::DeviceId,
) -> Option<LinkLocalUnicastAddr<Ipv6Addr>>
fn get_ipv6_link_local_addr( &mut self, device: &Self::DeviceId, ) -> Option<LinkLocalUnicastAddr<Ipv6Addr>>
Gets the IPv6 link local address on device.
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.