pub trait MulticastForwardingPendingPacketsContext<I: IpLayerIpExt, BT: MulticastForwardingBindingsTypes>: DeviceIdContext<AnyDevice> {
// Required method
fn with_pending_table_mut<O, F: FnOnce(&mut MulticastForwardingPendingPackets<I, Self::WeakDeviceId, BT>) -> O>(
&mut self,
state: &MulticastForwardingEnabledState<I, Self::DeviceId, BT>,
cb: F,
) -> O;
}
Expand description
A trait providing access to MulticastForwardingPendingPackets
.
Required Methods§
sourcefn with_pending_table_mut<O, F: FnOnce(&mut MulticastForwardingPendingPackets<I, Self::WeakDeviceId, BT>) -> O>(
&mut self,
state: &MulticastForwardingEnabledState<I, Self::DeviceId, BT>,
cb: F,
) -> O
fn with_pending_table_mut<O, F: FnOnce(&mut MulticastForwardingPendingPackets<I, Self::WeakDeviceId, BT>) -> O>( &mut self, state: &MulticastForwardingEnabledState<I, Self::DeviceId, BT>, cb: F, ) -> O
Provides mutable access to the table of pending packets.
Object Safety§
This trait is not object safe.