Struct netstack3_core::testutil::context::FakeEventCtx
source · pub struct FakeEventCtx<E: Debug> { /* private fields */ }
Expand description
A fake EventContext
.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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.