Struct qapi_qmp::NetdevTapOptions
source · [−]pub struct NetdevTapOptions {Show 15 fields
pub vhost: Option<bool>,
pub vhostforce: Option<bool>,
pub vnet_hdr: Option<bool>,
pub helper: Option<String>,
pub vhostfds: Option<String>,
pub script: Option<String>,
pub vhostfd: Option<String>,
pub fds: Option<String>,
pub fd: Option<String>,
pub downscript: Option<String>,
pub poll_us: Option<u32>,
pub sndbuf: Option<usize>,
pub queues: Option<u32>,
pub ifname: Option<String>,
pub br: Option<String>,
}Fields
vhost: Option<bool>vhostforce: Option<bool>vnet_hdr: Option<bool>helper: Option<String>vhostfds: Option<String>script: Option<String>vhostfd: Option<String>fds: Option<String>fd: Option<String>downscript: Option<String>poll_us: Option<u32>sndbuf: Option<usize>queues: Option<u32>ifname: Option<String>br: 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