fn create_netstack_realm_with<N, S, I>(
        &self,
        name: S,
        children: I,
    ) -> Result<netemul::TestRealm<'_>>
    where
        S: Into<String>,
        N: Netstack,
        I: IntoIterator,
        I::Item: Into<fnetemul::ChildDef>,
    {
        self.create_realm(
            name,
            [KnownServiceProvider::Netstack(N::VERSION)]
                .iter()
                .map(fnetemul::ChildDef::from)
                .chain(children.into_iter().map(Into::into)),
        )
    }
/// Creates a realm with the base Netstack services plus additional ones in
/// `children`.
Creates a realm with the base Netstack services plus additional ones in
`children`.
Creates a realm with the base Netstack services plus additional ones in ` children ` .
fn create_netstack_realm_with<N, S, I>(
        &self,
        name: S,
        children: I,
    ) -> Result<netemul::TestRealm<'_>>
    where
        S: Into<String>,
        N: Netstack,
        I: IntoIterator,
        I::Item: Into<fnetemul::ChildDef>,
    {
        self.create_realm(
            name,
            [KnownServiceProvider::Netstack(N::VERSION)]
                .iter()
                .map(fnetemul::ChildDef::from)
                .chain(children.into_iter().map(Into::into)),
        )
    }
fn create_netstack_realm_with < N , S , I > ( & self , name : S , children : I , ) -> Result < netemul :: TestRealm < ' _ > > where S : Into < String > , N : Netstack , I : IntoIterator , I :: Item : Into < fnetemul :: ChildDef > , { self . create_realm ( name , [ KnownServiceProvider :: Netstack ( N :: VERSION ) ] . iter ( ) . map ( fnetemul :: ChildDef :: from ) . chain ( children . into_iter ( ) . map ( Into :: into ) ) , ) }
Creates a realm with the base Netstack services plus additional ones in
`children`.
Creates a realm with the base Netstack services plus additional ones in ` children ` .
&self
name
S
children
I
&self
name
S
children
I