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.
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.