InnerFakeIpSocketCtx

Trait InnerFakeIpSocketCtx 

Source
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§

Source

fn fake_ip_socket_ctx_mut(&mut self) -> &mut FakeIpSocketCtx<I, D>

Gets a mutable reference to the inner fake context.

Implementations on Foreign Types§

Source§

impl<I: Ip, D, State: InnerFakeIpSocketCtx<I, D>, Meta> InnerFakeIpSocketCtx<I, D> for FakeCoreCtx<State, Meta, D>

Implementors§