pub struct MulticastForwardingEnabledState<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: MulticastForwardingBindingsTypes> { /* private fields */ }
Expand description
State held by the netstack when multicast forwarding is enabled for I
.
Trait Implementations§
Source§impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: MulticastForwardingBindingsTypes> Debug for MulticastForwardingEnabledState<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: MulticastForwardingBindingsTypes> Debug for MulticastForwardingEnabledState<I, D, BT>
Source§impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: MulticastForwardingBindingsTypes> OrderedLockAccess<BTreeMap<MulticastRouteKey<I>, MulticastRouteEntry<D, BT>>> for MulticastForwardingEnabledState<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: MulticastForwardingBindingsTypes> OrderedLockAccess<BTreeMap<MulticastRouteKey<I>, MulticastRouteEntry<D, BT>>> for MulticastForwardingEnabledState<I, D, BT>
Source§type Lock = RwLock<BTreeMap<MulticastRouteKey<I>, MulticastRouteEntry<D, BT>>>
type Lock = RwLock<BTreeMap<MulticastRouteKey<I>, MulticastRouteEntry<D, BT>>>
The lock type that observes ordering. Read more
Source§fn ordered_lock_access(&self) -> OrderedLockRef<'_, Self::Lock>
fn ordered_lock_access(&self) -> OrderedLockRef<'_, Self::Lock>
Returns a borrow to the order-aware lock. Read more
Source§impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: MulticastForwardingBindingsTypes> OrderedLockAccess<MulticastForwardingPendingPackets<I, <D as StrongDeviceIdentifier>::Weak, BT>> for MulticastForwardingEnabledState<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: MulticastForwardingBindingsTypes> OrderedLockAccess<MulticastForwardingPendingPackets<I, <D as StrongDeviceIdentifier>::Weak, BT>> for MulticastForwardingEnabledState<I, D, BT>
Source§type Lock = Mutex<MulticastForwardingPendingPackets<I, <D as StrongDeviceIdentifier>::Weak, BT>>
type Lock = Mutex<MulticastForwardingPendingPackets<I, <D as StrongDeviceIdentifier>::Weak, BT>>
The lock type that observes ordering. Read more
Source§fn ordered_lock_access(&self) -> OrderedLockRef<'_, Self::Lock>
fn ordered_lock_access(&self) -> OrderedLockRef<'_, Self::Lock>
Returns a borrow to the order-aware lock. Read more
Auto Trait Implementations§
impl<I, D, BT> !Freeze for MulticastForwardingEnabledState<I, D, BT>
impl<I, D, BT> RefUnwindSafe for MulticastForwardingEnabledState<I, D, BT>
impl<I, D, BT> Send for MulticastForwardingEnabledState<I, D, BT>where
<I as MulticastRouteIpExt>::SourceAddress: Send,
<I as MulticastRouteIpExt>::DestinationAddress: Send,
<BT as InstantBindingsTypes>::AtomicInstant: Send,
impl<I, D, BT> Sync for MulticastForwardingEnabledState<I, D, BT>where
<I as MulticastRouteIpExt>::SourceAddress: Send + Sync,
<I as MulticastRouteIpExt>::DestinationAddress: Send + Sync,
<BT as InstantBindingsTypes>::AtomicInstant: Send + Sync,
impl<I, D, BT> Unpin for MulticastForwardingEnabledState<I, D, BT>
impl<I, D, BT> UnwindSafe for MulticastForwardingEnabledState<I, D, BT>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
Source§impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
Source§fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
Send a frame. Read more
Source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
Source§fn handle_timer(
&mut self,
bindings_ctx: &mut BC,
dispatch: Id,
timer: <BC as TimerBindingsTypes>::UniqueTimerId,
)
fn handle_timer( &mut self, bindings_ctx: &mut BC, dispatch: Id, timer: <BC as TimerBindingsTypes>::UniqueTimerId, )
Handle a timer firing. Read more