[][src]Enum qapi_qmp::Netdev

pub enum Netdev {
    vhost_vdpa {
        id: String,
        vhost_vdpa: NetdevVhostVDPAOptions,
    },
    netmap {
        id: String,
        netmap: NetdevNetmapOptions,
    },
    nic {
        id: String,
        nic: NetLegacyNicOptions,
    },
    l2tpv3 {
        id: String,
        l2tpv3: NetdevL2TPv3Options,
    },
    user {
        id: String,
        user: NetdevUserOptions,
    },
    tap {
        id: String,
        tap: NetdevTapOptions,
    },
    vde {
        id: String,
        vde: NetdevVdeOptions,
    },
    socket {
        id: String,
        socket: NetdevSocketOptions,
    },
    hubport {
        id: String,
        hubport: NetdevHubPortOptions,
    },
    vhost_user {
        id: String,
        vhost_user: NetdevVhostUserOptions,
    },
    bridge {
        id: String,
        bridge: NetdevBridgeOptions,
    },
}

Variants

vhost_vdpa

Fields of vhost_vdpa

id: Stringvhost_vdpa: NetdevVhostVDPAOptions
netmap

Fields of netmap

id: Stringnetmap: NetdevNetmapOptions
nic

Fields of nic

id: Stringnic: NetLegacyNicOptions
l2tpv3

Fields of l2tpv3

id: Stringl2tpv3: NetdevL2TPv3Options
user

Fields of user

id: Stringuser: NetdevUserOptions
tap

Fields of tap

id: Stringtap: NetdevTapOptions
vde

Fields of vde

id: Stringvde: NetdevVdeOptions
socket

Fields of socket

id: Stringsocket: NetdevSocketOptions
hubport

Fields of hubport

id: Stringhubport: NetdevHubPortOptions
vhost_user

Fields of vhost_user

id: Stringvhost_user: NetdevVhostUserOptions
bridge

Fields of bridge

id: Stringbridge: NetdevBridgeOptions

Implementations

impl Netdev[src]

pub fn type_(&self) -> NetClientDriver[src]

Trait Implementations

impl Clone for Netdev[src]

impl Debug for Netdev[src]

impl<'de> Deserialize<'de> for Netdev[src]

impl Serialize for Netdev[src]

Auto Trait Implementations

impl RefUnwindSafe for Netdev

impl Send for Netdev

impl Sync for Netdev

impl Unpin for Netdev

impl UnwindSafe for Netdev

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.