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
hubportFields of hubport
id: String | |
hubport: NetdevHubPortOptions |
netmapFields of netmap
id: String | |
netmap: NetdevNetmapOptions |
vdeFields of vde
id: String | |
vde: NetdevVdeOptions |
l2tpv3Fields of l2tpv3
id: String | |
l2tpv3: NetdevL2TPv3Options |
tapFields of tap
id: String | |
tap: NetdevTapOptions |
socketFields of socket
id: String | |
socket: NetdevSocketOptions |
bridgeFields of bridge
id: String | |
bridge: NetdevBridgeOptions |
userFields of user
id: String | |
user: NetdevUserOptions |
vhost_userFields of vhost_user
id: String | |
vhost_user: NetdevVhostUserOptions |
nicFields of nic
id: String | |
nic: NetLegacyNicOptions |
Methods
impl Netdev[src]
impl Netdevpub fn type_(&self) -> NetClientDriver[src]
pub fn type_(&self) -> NetClientDriverTrait Implementations
impl Debug for Netdev[src]
impl Debug for Netdevfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Netdev[src]
impl Clone for Netdev