pub struct IpStateInner<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpStateBindingsTypes> { /* private fields */ }Expand description
The inner state for the IP layer for IP version I.
Implementations§
Source§impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpStateBindingsTypes> IpStateInner<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpStateBindingsTypes> IpStateInner<I, D, BT>
Sourcepub fn counters(&self) -> &IpCounters<I>
pub fn counters(&self) -> &IpCounters<I>
Gets the IP counters.
Sourcepub fn multicast_forwarding_counters(&self) -> &MulticastForwardingCounters<I>
pub fn multicast_forwarding_counters(&self) -> &MulticastForwardingCounters<I>
Gets the multicast forwarding counters.
Sourcepub fn raw_ip_socket_counters(&self) -> &RawIpSocketCounters<I>
pub fn raw_ip_socket_counters(&self) -> &RawIpSocketCounters<I>
Gets the aggregate raw IP socket counters.
Sourcepub fn main_table_id(&self) -> &RoutingTableId<I, D, BT>
pub fn main_table_id(&self) -> &RoutingTableId<I, D, BT>
Gets the main table ID.
Sourcepub fn pmtu_cache(&self) -> &Mutex<PmtuCache<I, BT>, BT::Mutex>
pub fn pmtu_cache(&self) -> &Mutex<PmtuCache<I, BT>, BT::Mutex>
Provides direct access to the path MTU cache.
Sourcepub fn filter(&self) -> &RwLock<State<I, WeakAddressId<I, BT>, BT>, BT::RwLock>
pub fn filter(&self) -> &RwLock<State<I, WeakAddressId<I, BT>, BT>, BT::RwLock>
Provides direct access to the filtering state.
Sourcepub fn igmp_counters(&self) -> &IgmpCounters
pub fn igmp_counters(&self) -> &IgmpCounters
Gets the stack-wide IGMP counters.
Sourcepub fn mld_counters(&self) -> &MldCounters
pub fn mld_counters(&self) -> &MldCounters
Gets the stack-wide MLD counters.
Trait Implementations§
Source§impl<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> AsRef<IpStateInner<Ipv4, StrongDeviceId, BT>> for Ipv4State<StrongDeviceId, BT>
impl<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> AsRef<IpStateInner<Ipv4, StrongDeviceId, BT>> for Ipv4State<StrongDeviceId, BT>
Source§fn as_ref(&self) -> &IpStateInner<Ipv4, StrongDeviceId, BT>
fn as_ref(&self) -> &IpStateInner<Ipv4, StrongDeviceId, BT>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> AsRef<IpStateInner<Ipv6, StrongDeviceId, BT>> for Ipv6State<StrongDeviceId, BT>
impl<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> AsRef<IpStateInner<Ipv6, StrongDeviceId, BT>> for Ipv6State<StrongDeviceId, BT>
Source§fn as_ref(&self) -> &IpStateInner<Ipv6, StrongDeviceId, BT>
fn as_ref(&self) -> &IpStateInner<Ipv6, StrongDeviceId, BT>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpStateBindingsTypes, IpType> GenericOverIp<IpType> for IpStateInner<I, D, BT>where
IpType: IpLayerIpExt + Ip,
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpStateBindingsTypes, IpType> GenericOverIp<IpType> for IpStateInner<I, D, BT>where
IpType: IpLayerIpExt + Ip,
Source§type Type = IpStateInner<IpType, D, BT>
type Type = IpStateInner<IpType, D, BT>
The type of
Self when its IP-generic parameter is replaced with the
type NewIp.Source§impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> OrderedLockAccess<HashMap<RoutingTableId<I, D, BT>, Primary<BaseRoutingTableState<I, D, BT>>>> for IpStateInner<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> OrderedLockAccess<HashMap<RoutingTableId<I, D, BT>, Primary<BaseRoutingTableState<I, D, BT>>>> for IpStateInner<I, D, BT>
Source§type Lock = Mutex<HashMap<RoutingTableId<I, D, BT>, Primary<BaseRoutingTableState<I, D, BT>>>, <BT as BindingsSyncTypes>::Mutex>
type Lock = Mutex<HashMap<RoutingTableId<I, D, BT>, Primary<BaseRoutingTableState<I, D, BT>>>, <BT as BindingsSyncTypes>::Mutex>
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: IpLayerBindingsTypes> OrderedLockAccess<IpPacketFragmentCache<I, BT>> for IpStateInner<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> OrderedLockAccess<IpPacketFragmentCache<I, BT>> for IpStateInner<I, D, BT>
Source§type Lock = Mutex<IpPacketFragmentCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>
type Lock = Mutex<IpPacketFragmentCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>
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: IpLayerBindingsTypes> OrderedLockAccess<MulticastForwardingState<I, D, BT>> for IpStateInner<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> OrderedLockAccess<MulticastForwardingState<I, D, BT>> for IpStateInner<I, D, BT>
Source§type Lock = RwLock<MulticastForwardingState<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>
type Lock = RwLock<MulticastForwardingState<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>
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: IpLayerBindingsTypes> OrderedLockAccess<PmtuCache<I, BT>> for IpStateInner<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> OrderedLockAccess<PmtuCache<I, BT>> for IpStateInner<I, D, BT>
Source§type Lock = Mutex<PmtuCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>
type Lock = Mutex<PmtuCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>
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: IpLayerBindingsTypes> OrderedLockAccess<RawIpSocketMap<I, <D as StrongDeviceIdentifier>::Weak, BT>> for IpStateInner<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> OrderedLockAccess<RawIpSocketMap<I, <D as StrongDeviceIdentifier>::Weak, BT>> for IpStateInner<I, D, BT>
Source§type Lock = RwLock<RawIpSocketMap<I, <D as StrongDeviceIdentifier>::Weak, BT>, <BT as BindingsSyncTypes>::RwLock>
type Lock = RwLock<RawIpSocketMap<I, <D as StrongDeviceIdentifier>::Weak, BT>, <BT as BindingsSyncTypes>::RwLock>
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: IpLayerBindingsTypes> OrderedLockAccess<RulesTable<I, D, BT>> for IpStateInner<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> OrderedLockAccess<RulesTable<I, D, BT>> for IpStateInner<I, D, BT>
Source§type Lock = RwLock<RulesTable<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>
type Lock = RwLock<RulesTable<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>
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: IpLayerBindingsTypes> OrderedLockAccess<State<I, WeakAddressId<I, BT>, BT>> for IpStateInner<I, D, BT>
impl<I: IpLayerIpExt, D: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> OrderedLockAccess<State<I, WeakAddressId<I, BT>, BT>> for IpStateInner<I, D, BT>
Source§type Lock = RwLock<State<I, WeakAddressId<I, BT>, BT>, <BT as BindingsSyncTypes>::RwLock>
type Lock = RwLock<State<I, WeakAddressId<I, BT>, BT>, <BT as BindingsSyncTypes>::RwLock>
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 IpStateInner<I, D, BT>
impl<I, D, BT> !RefUnwindSafe for IpStateInner<I, D, BT>
impl<I, D, BT> !UnwindSafe for IpStateInner<I, D, BT>
impl<I, D, BT> Send for IpStateInner<I, D, BT>where
RwLock<RulesTable<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>: Send,
RoutingTableId<I, D, BT>: Send,
RwLock<MulticastForwardingState<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>: Send,
MulticastForwardingCounters<I>: Send,
Mutex<IpPacketFragmentCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>: Send,
Mutex<PmtuCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>: Send,
IpCounters<I>: Send,
RwLock<RawIpSocketMap<I, <D as StrongDeviceIdentifier>::Weak, BT>, <BT as BindingsSyncTypes>::RwLock>: Send,
RawIpSocketCounters<I>: Send,
RwLock<State<I, WeakAddressId<I, BT>, BT>, <BT as BindingsSyncTypes>::RwLock>: Send,
Mutex<HashMap<RoutingTableId<I, D, BT>, Primary<BaseRoutingTableState<I, D, BT>>>, <BT as BindingsSyncTypes>::Mutex>: Send,
impl<I, D, BT> Sync for IpStateInner<I, D, BT>where
RwLock<RulesTable<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>: Sync,
RoutingTableId<I, D, BT>: Sync,
RwLock<MulticastForwardingState<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>: Sync,
MulticastForwardingCounters<I>: Sync,
Mutex<IpPacketFragmentCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>: Sync,
Mutex<PmtuCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>: Sync,
IpCounters<I>: Sync,
RwLock<RawIpSocketMap<I, <D as StrongDeviceIdentifier>::Weak, BT>, <BT as BindingsSyncTypes>::RwLock>: Sync,
RawIpSocketCounters<I>: Sync,
RwLock<State<I, WeakAddressId<I, BT>, BT>, <BT as BindingsSyncTypes>::RwLock>: Sync,
Mutex<HashMap<RoutingTableId<I, D, BT>, Primary<BaseRoutingTableState<I, D, BT>>>, <BT as BindingsSyncTypes>::Mutex>: Sync,
impl<I, D, BT> Unpin for IpStateInner<I, D, BT>where
RwLock<RulesTable<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>: Unpin,
RoutingTableId<I, D, BT>: Unpin,
RwLock<MulticastForwardingState<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>: Unpin,
MulticastForwardingCounters<I>: Unpin,
Mutex<IpPacketFragmentCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>: Unpin,
Mutex<PmtuCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>: Unpin,
IpCounters<I>: Unpin,
RwLock<RawIpSocketMap<I, <D as StrongDeviceIdentifier>::Weak, BT>, <BT as BindingsSyncTypes>::RwLock>: Unpin,
RawIpSocketCounters<I>: Unpin,
RwLock<State<I, WeakAddressId<I, BT>, BT>, <BT as BindingsSyncTypes>::RwLock>: Unpin,
Mutex<HashMap<RoutingTableId<I, D, BT>, Primary<BaseRoutingTableState<I, D, BT>>>, <BT as BindingsSyncTypes>::Mutex>: Unpin,
impl<I, D, BT> UnsafeUnpin for IpStateInner<I, D, BT>where
RwLock<RulesTable<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>: UnsafeUnpin,
RoutingTableId<I, D, BT>: UnsafeUnpin,
RwLock<MulticastForwardingState<I, D, BT>, <BT as BindingsSyncTypes>::RwLock>: UnsafeUnpin,
MulticastForwardingCounters<I>: UnsafeUnpin,
Mutex<IpPacketFragmentCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>: UnsafeUnpin,
Mutex<PmtuCache<I, BT>, <BT as BindingsSyncTypes>::Mutex>: UnsafeUnpin,
IpCounters<I>: UnsafeUnpin,
RwLock<RawIpSocketMap<I, <D as StrongDeviceIdentifier>::Weak, BT>, <BT as BindingsSyncTypes>::RwLock>: UnsafeUnpin,
RawIpSocketCounters<I>: UnsafeUnpin,
RwLock<State<I, WeakAddressId<I, BT>, BT>, <BT as BindingsSyncTypes>::RwLock>: UnsafeUnpin,
Mutex<HashMap<RoutingTableId<I, D, BT>, Primary<BaseRoutingTableState<I, D, BT>>>, <BT as BindingsSyncTypes>::Mutex>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<B, A> LockBefore<B> for Awhere
B: LockAfter<A>,
Source§impl<L, T> LockFor<L> for Twhere
L: LockLevelFor<T>,
T: OrderedLockAccess<<L as LockLevelFor<T>>::Data>,
<T as OrderedLockAccess<<L as LockLevelFor<T>>::Data>>::Lock: ExclusiveLock<<L as LockLevelFor<T>>::Data>,
impl<L, T> LockFor<L> for Twhere
L: LockLevelFor<T>,
T: OrderedLockAccess<<L as LockLevelFor<T>>::Data>,
<T as OrderedLockAccess<<L as LockLevelFor<T>>::Data>>::Lock: ExclusiveLock<<L as LockLevelFor<T>>::Data>,
Source§type Data = <L as LockLevelFor<T>>::Data
type Data = <L as LockLevelFor<T>>::Data
The data produced by locking the state indicated by
L in Self.Source§type Guard<'l> = <<T as OrderedLockAccess<<L as LockLevelFor<T>>::Data>>::Lock as ExclusiveLock<<L as LockLevelFor<T>>::Data>>::Guard<'l>
where
T: 'l
type Guard<'l> = <<T as OrderedLockAccess<<L as LockLevelFor<T>>::Data>>::Lock as ExclusiveLock<<L as LockLevelFor<T>>::Data>>::Guard<'l> where T: 'l
A guard providing read and write access to the data.
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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<L, T> RwLockFor<L> for Twhere
L: LockLevelFor<T>,
T: OrderedLockAccess<<L as LockLevelFor<T>>::Data>,
<T as OrderedLockAccess<<L as LockLevelFor<T>>::Data>>::Lock: ReadWriteLock<<L as LockLevelFor<T>>::Data>,
impl<L, T> RwLockFor<L> for Twhere
L: LockLevelFor<T>,
T: OrderedLockAccess<<L as LockLevelFor<T>>::Data>,
<T as OrderedLockAccess<<L as LockLevelFor<T>>::Data>>::Lock: ReadWriteLock<<L as LockLevelFor<T>>::Data>,
Source§type Data = <L as LockLevelFor<T>>::Data
type Data = <L as LockLevelFor<T>>::Data
The data produced by locking the state indicated by
L in Self.Source§type ReadGuard<'l> = <<T as OrderedLockAccess<<L as LockLevelFor<T>>::Data>>::Lock as ReadWriteLock<<L as LockLevelFor<T>>::Data>>::ReadGuard<'l>
where
T: 'l
type ReadGuard<'l> = <<T as OrderedLockAccess<<L as LockLevelFor<T>>::Data>>::Lock as ReadWriteLock<<L as LockLevelFor<T>>::Data>>::ReadGuard<'l> where T: 'l
A guard providing read access to the data.
Source§type WriteGuard<'l> = <<T as OrderedLockAccess<<L as LockLevelFor<T>>::Data>>::Lock as ReadWriteLock<<L as LockLevelFor<T>>::Data>>::WriteGuard<'l>
where
T: 'l
type WriteGuard<'l> = <<T as OrderedLockAccess<<L as LockLevelFor<T>>::Data>>::Lock as ReadWriteLock<<L as LockLevelFor<T>>::Data>>::WriteGuard<'l> where T: 'l
A guard providing write access to the data.
Source§fn read_lock(&self) -> <T as RwLockFor<L>>::ReadGuard<'_>
fn read_lock(&self) -> <T as RwLockFor<L>>::ReadGuard<'_>
Acquires a read lock on the data in
Self indicated by L.Source§fn write_lock(&self) -> <T as RwLockFor<L>>::WriteGuard<'_>
fn write_lock(&self) -> <T as RwLockFor<L>>::WriteGuard<'_>
Acquires a write lock on the data in
Self indicated by L.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>>
fn send_frame<S>( &mut self, bindings_ctx: &mut BC, metadata: Meta, frame: S, ) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>
Send a frame. Read more
Source§impl<BC, S, Meta, DeviceId> SendableFrameMeta<FakeCoreCtx<S, Meta, DeviceId>, BC> for Meta
impl<BC, S, Meta, DeviceId> SendableFrameMeta<FakeCoreCtx<S, Meta, DeviceId>, BC> for Meta
Source§fn send_meta<SS>(
self,
core_ctx: &mut FakeCoreCtx<S, Meta, DeviceId>,
bindings_ctx: &mut BC,
frame: SS,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, SS>>
fn send_meta<SS>( self, core_ctx: &mut FakeCoreCtx<S, Meta, DeviceId>, bindings_ctx: &mut BC, frame: SS, ) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, SS>>
Sends this frame metadata to the provided contexts.
Source§impl<Meta, BC> SendableFrameMeta<FakeFrameCtx<Meta>, BC> for Meta
impl<Meta, BC> SendableFrameMeta<FakeFrameCtx<Meta>, BC> for Meta
Source§fn send_meta<S>(
self,
core_ctx: &mut FakeFrameCtx<Meta>,
_bindings_ctx: &mut BC,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>
fn send_meta<S>( self, core_ctx: &mut FakeFrameCtx<Meta>, _bindings_ctx: &mut BC, frame: S, ) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>
Sends this frame metadata to the provided contexts.
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
Source§impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
Source§type Data = <L as UnlockedAccessMarkerFor<T>>::Data
type Data = <L as UnlockedAccessMarkerFor<T>>::Data
The type of state being accessed.
Source§type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data
where
T: 'l
type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data where T: 'l
A guard providing read access to the data.
Source§fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
How to access the state.