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

Fields of hubport

Fields of netmap

Fields of vde

Fields of l2tpv3

Fields of tap

Fields of socket

Fields of bridge

Fields of user

Fields of vhost_user

Fields of nic

Methods

impl Netdev
[src]

Trait Implementations

impl Debug for Netdev
[src]

Formats the value using the given formatter. Read more

impl Clone for Netdev
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Netdev

impl Sync for Netdev