Struct netstack3_base::NestedIntoCoreTimerCtx
source · pub struct NestedIntoCoreTimerCtx<CC, N>(/* private fields */);
Expand description
An uninstantiable type that performs conversions based on Into
implementations and an available outer CoreTimerContext
CC
.
Trait Implementations§
source§impl<CC, N, T, BT> CoreTimerContext<T, BT> for NestedIntoCoreTimerCtx<CC, N>
impl<CC, N, T, BT> CoreTimerContext<T, BT> for NestedIntoCoreTimerCtx<CC, N>
source§fn convert_timer(dispatch_id: T) -> BT::DispatchId
fn convert_timer(dispatch_id: T) -> BT::DispatchId
Converts an inner timer to the bindings timer type.
Auto Trait Implementations§
impl<CC, N> Freeze for NestedIntoCoreTimerCtx<CC, N>
impl<CC, N> RefUnwindSafe for NestedIntoCoreTimerCtx<CC, N>where
CC: RefUnwindSafe,
N: RefUnwindSafe,
impl<CC, N> Send for NestedIntoCoreTimerCtx<CC, N>
impl<CC, N> Sync for NestedIntoCoreTimerCtx<CC, N>
impl<CC, N> Unpin for NestedIntoCoreTimerCtx<CC, N>
impl<CC, N> UnwindSafe for NestedIntoCoreTimerCtx<CC, N>where
CC: UnwindSafe,
N: UnwindSafe,
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<BC, Meta> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<BC, Meta> 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§impl<Meta, BC> SendableFrameMeta<FakeFrameCtx<Meta>, BC> for Meta
impl<Meta, BC> SendableFrameMeta<FakeFrameCtx<Meta>, BC> for Meta
source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
source§fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
Handle a timer firing.