Enum qapi_qmp::Netdev[][src]

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

Variants

socket

Fields of socket

id: Stringsocket: NetdevSocketOptions
user

Fields of user

id: Stringuser: NetdevUserOptions
netmap

Fields of netmap

id: Stringnetmap: NetdevNetmapOptions
vde

Fields of vde

id: Stringvde: NetdevVdeOptions
nic

Fields of nic

id: Stringnic: NetLegacyNicOptions
tap

Fields of tap

id: Stringtap: NetdevTapOptions
bridge

Fields of bridge

id: Stringbridge: NetdevBridgeOptions
l2tpv3

Fields of l2tpv3

id: Stringl2tpv3: NetdevL2TPv3Options
hubport

Fields of hubport

id: Stringhubport: NetdevHubPortOptions
vhost_user

Fields of vhost_user

id: Stringvhost_user: NetdevVhostUserOptions
vhost_vdpa

Fields of vhost_vdpa

id: Stringvhost_vdpa: NetdevVhostVDPAOptions

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.