Enum qapi_qmp::Netdev [−][src]
pub enum Netdev { hubport { id: String, hubport: NetdevHubPortOptions, }, netmap { id: String, netmap: NetdevNetmapOptions, }, vde { id: String, vde: NetdevVdeOptions, }, l2tpv3 { id: String, l2tpv3: NetdevL2TPv3Options, }, tap { id: String, tap: NetdevTapOptions, }, socket { id: String, socket: NetdevSocketOptions, }, bridge { id: String, bridge: NetdevBridgeOptions, }, user { id: String, user: NetdevUserOptions, }, vhost_user { id: String, vhost_user: NetdevVhostUserOptions, }, nic { id: String, nic: NetLegacyNicOptions, }, }
Variants
hubport
Fields of hubport
id: String | |
hubport: NetdevHubPortOptions |
netmap
Fields of netmap
id: String | |
netmap: NetdevNetmapOptions |
vde
Fields of vde
id: String | |
vde: NetdevVdeOptions |
l2tpv3
Fields of l2tpv3
id: String | |
l2tpv3: NetdevL2TPv3Options |
tap
Fields of tap
id: String | |
tap: NetdevTapOptions |
socket
Fields of socket
id: String | |
socket: NetdevSocketOptions |
bridge
Fields of bridge
id: String | |
bridge: NetdevBridgeOptions |
user
Fields of user
id: String | |
user: NetdevUserOptions |
vhost_user
Fields of vhost_user
id: String | |
vhost_user: NetdevVhostUserOptions |
nic
Fields of nic
id: String | |
nic: NetLegacyNicOptions |
Methods
impl Netdev
[src]
impl Netdev
pub fn type_(&self) -> NetClientDriver
[src]
pub fn type_(&self) -> NetClientDriver
Trait Implementations
impl Debug for Netdev
[src]
impl Debug for Netdev
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Netdev
[src]
impl Clone for Netdev