netstack3_ip::multicast_forwarding

Trait MulticastForwardingPendingPacketsContext

Source
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§

Source

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.

Implementors§