[−][src]Enum qapi_qmp::Netdev
Variants
Fields of user
id: String
user: NetdevUserOptions
Fields of nic
id: String
nic: NetLegacyNicOptions
Fields of bridge
id: String
bridge: NetdevBridgeOptions
Fields of socket
id: String
socket: NetdevSocketOptions
Fields of vhost_vdpa
id: String
vhost_vdpa: NetdevVhostVDPAOptions
Fields of netmap
id: String
netmap: NetdevNetmapOptions
Fields of l2tpv3
id: String
l2tpv3: NetdevL2TPv3Options
Fields of vde
id: String
vde: NetdevVdeOptions
Fields of vhost_user
id: String
vhost_user: NetdevVhostUserOptions
Fields of hubport
id: String
hubport: NetdevHubPortOptions
Fields of tap
id: String
tap: NetdevTapOptions
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]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,