pub enum Netdev {
Show 14 variants bridge { id: String, bridge: NetdevBridgeOptions, }, hubport { id: String, hubport: NetdevHubPortOptions, }, l2tpv3 { id: String, l2tpv3: NetdevL2TPv3Options, }, netmap { id: String, netmap: NetdevNetmapOptions, }, nic { id: String, nic: NetLegacyNicOptions, }, socket { id: String, socket: NetdevSocketOptions, }, tap { id: String, tap: NetdevTapOptions, }, user { id: String, user: NetdevUserOptions, }, vde { id: String, vde: NetdevVdeOptions, }, vhost_user { id: String, vhost_user: NetdevVhostUserOptions, }, vhost_vdpa { id: String, vhost_vdpa: NetdevVhostVDPAOptions, }, vmnet_bridged { id: String, vmnet_bridged: NetdevVmnetBridgedOptions, }, vmnet_host { id: String, vmnet_host: NetdevVmnetHostOptions, }, vmnet_shared { id: String, vmnet_shared: NetdevVmnetSharedOptions, },
}

Variants

bridge

Fields

id: String

hubport

Fields

id: String

l2tpv3

Fields

id: String

netmap

Fields

id: String

nic

Fields

id: String

socket

Fields

id: String

tap

Fields

id: String

user

Fields

id: String

vde

Fields

id: String

vhost_user

Fields

id: String

vhost_vdpa

Fields

id: String

vmnet_bridged

Fields

id: String

vmnet_host

Fields

id: String

vmnet_shared

Fields

id: String

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
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.