pub trait TestSandboxExt {
    // Required methods
    fn create_netstack_realm<'a, N, S>(
        &'a self,
        name: S,
    ) -> Result<TestRealm<'a>>
       where N: Netstack,
             S: Into<Cow<'a, str>>;
    fn create_netstack_realm_with<'a, N, S, I>(
        &'a self,
        name: S,
        children: I,
    ) -> Result<TestRealm<'a>>
       where S: Into<Cow<'a, str>>,
             N: Netstack,
             I: IntoIterator,
             I::Item: Into<ChildDef>;
}Expand description
Helpers for netemul::TestSandbox.
Required Methods§
Sourcefn create_netstack_realm<'a, N, S>(&'a self, name: S) -> Result<TestRealm<'a>>
 
fn create_netstack_realm<'a, N, S>(&'a self, name: S) -> Result<TestRealm<'a>>
Creates a realm with Netstack services.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.