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