Struct netstack3_core::testutil::context::FakeFrameCtx
source · pub struct FakeFrameCtx<Meta> { /* private fields */ }
Expand description
A fake [FrameContext
].
Trait Implementations§
source§impl<Meta> Default for FakeFrameCtx<Meta>
impl<Meta> Default for FakeFrameCtx<Meta>
source§fn default() -> FakeFrameCtx<Meta>
fn default() -> FakeFrameCtx<Meta>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<Meta> Freeze for FakeFrameCtx<Meta>
impl<Meta> !RefUnwindSafe for FakeFrameCtx<Meta>
impl<Meta> Send for FakeFrameCtx<Meta>where
Meta: Send,
impl<Meta> !Sync for FakeFrameCtx<Meta>
impl<Meta> Unpin for FakeFrameCtx<Meta>where
Meta: Unpin,
impl<Meta> !UnwindSafe for FakeFrameCtx<Meta>
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.