Struct netstack3_base::testutil::FakeEventCtx
source · pub struct FakeEventCtx<E: Debug> { /* private fields */ }
Expand description
A fake EventContext
.
Implementations§
Trait Implementations§
source§impl<E: Debug> Default for FakeEventCtx<E>
impl<E: Debug> Default for FakeEventCtx<E>
source§impl<E: Debug> Drop for FakeEventCtx<E>
impl<E: Debug> Drop for FakeEventCtx<E>
source§impl<E: Debug> EventContext<E> for FakeEventCtx<E>
impl<E: Debug> EventContext<E> for FakeEventCtx<E>
Auto Trait Implementations§
impl<E> Freeze for FakeEventCtx<E>
impl<E> RefUnwindSafe for FakeEventCtx<E>where
E: RefUnwindSafe,
impl<E> Send for FakeEventCtx<E>where
E: Send,
impl<E> Sync for FakeEventCtx<E>where
E: Sync,
impl<E> Unpin for FakeEventCtx<E>where
E: Unpin,
impl<E> UnwindSafe for FakeEventCtx<E>where
E: 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.