pub trait IgmpSendContext<BT: IgmpBindingsTypes>:
DeviceIdContext<AnyDevice>
+ IpLayerHandler<Ipv4, BT>
+ IpDeviceMtuContext<Ipv4>
+ ResourceCounterContext<Self::DeviceId, IgmpCounters> {
// Required method
fn get_ip_addr_subnet(
&mut self,
device: &Self::DeviceId,
) -> Option<AddrSubnet<Ipv4Addr, Ipv4DeviceAddr>>;
}Expand description
The inner execution context for IGMP capable of sending packets.
Required Methods§
Sourcefn get_ip_addr_subnet(
&mut self,
device: &Self::DeviceId,
) -> Option<AddrSubnet<Ipv4Addr, Ipv4DeviceAddr>>
fn get_ip_addr_subnet( &mut self, device: &Self::DeviceId, ) -> Option<AddrSubnet<Ipv4Addr, Ipv4DeviceAddr>>
Gets an IP address and subnet associated with this device.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".