pub trait InnerFakeIpSocketCtx<I: Ip, D> {
// Required method
fn fake_ip_socket_ctx_mut(&mut self) -> &mut FakeIpSocketCtx<I, D>;
}
Expand description
A trait enabling [FakeIpSockeCtx
]’s implementations for
FakeCoreCtx
with types that hold a FakeIpSocketCtx
internally,
Required Methods§
Sourcefn fake_ip_socket_ctx_mut(&mut self) -> &mut FakeIpSocketCtx<I, D>
fn fake_ip_socket_ctx_mut(&mut self) -> &mut FakeIpSocketCtx<I, D>
Gets a mutable reference to the inner fake context.