Struct qapi_qmp::NetdevTapOptions
source · [−]pub struct NetdevTapOptions {Show 15 fields
pub fds: Option<String>,
pub script: Option<String>,
pub br: Option<String>,
pub vhostfds: Option<String>,
pub vhostfd: Option<String>,
pub fd: Option<String>,
pub sndbuf: Option<usize>,
pub vhostforce: Option<bool>,
pub ifname: Option<String>,
pub vhost: Option<bool>,
pub poll_us: Option<u32>,
pub vnet_hdr: Option<bool>,
pub queues: Option<u32>,
pub downscript: Option<String>,
pub helper: Option<String>,
}Fields
fds: Option<String>script: Option<String>br: Option<String>vhostfds: Option<String>vhostfd: Option<String>fd: Option<String>sndbuf: Option<usize>vhostforce: Option<bool>ifname: Option<String>vhost: Option<bool>poll_us: Option<u32>vnet_hdr: Option<bool>queues: Option<u32>downscript: Option<String>helper: Option<String>Trait Implementations
sourceimpl Clone for NetdevTapOptions
impl Clone for NetdevTapOptions
sourcefn clone(&self) -> NetdevTapOptions
fn clone(&self) -> NetdevTapOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for NetdevTapOptions
impl Debug for NetdevTapOptions
sourceimpl Default for NetdevTapOptions
impl Default for NetdevTapOptions
sourcefn default() -> NetdevTapOptions
fn default() -> NetdevTapOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NetdevTapOptions
impl<'de> Deserialize<'de> for NetdevTapOptions
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for NetdevTapOptions
impl Serialize for NetdevTapOptions
Auto Trait Implementations
impl RefUnwindSafe for NetdevTapOptions
impl Send for NetdevTapOptions
impl Sync for NetdevTapOptions
impl Unpin for NetdevTapOptions
impl UnwindSafe for NetdevTapOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more