netstack_testing_common::realms

Trait Netstack

Source
pub trait Netstack: Copy + Clone {
    const VERSION: NetstackVersion;
}
Expand description

Abstraction for a Fuchsia component which offers network stack services.

Required Associated Constants§

Source

const VERSION: NetstackVersion

The Netstack version.

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.

Implementors§

Source§

impl Netstack for Netstack2

Source§

impl Netstack for Netstack3

Source§

const VERSION: NetstackVersion = NetstackVersion::Netstack3

Source§

impl Netstack for ProdNetstack2

Source§

const VERSION: NetstackVersion = NetstackVersion::ProdNetstack2

Source§

impl Netstack for ProdNetstack3

Source§

const VERSION: NetstackVersion = NetstackVersion::ProdNetstack3