pub struct MmdsConfig {
    pub version: Option<MmdsConfigVersion>,
    pub ipv4_address: Option<Ipv4Addr>,
    pub network_interfaces: Vec<String>,
}Expand description
Defines the MMDS configuration.
Fieldsยง
ยงversion: Option<MmdsConfigVersion>MMDS version to be used. V1 is deprecated, V2 is recommended.
ipv4_address: Option<Ipv4Addr>A valid IPv4 link-local address used by guest applications when issuing requests to MMDS. format: โ169.254.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-4]).([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])โ default: โ169.254.169.254โ
network_interfaces: Vec<String>List of the network interface IDs capable of forwarding packets to
the MMDS. Network interface IDs mentioned must be valid at the time
of this request. The net device model will reply to HTTP GET requests
sent to the MMDS address via the interfaces mentioned. In this
case, both ARP requests and TCP segments heading to ipv4_address
are intercepted by the device model, and do not reach the associated
TAP device.
Trait Implementationsยง
Sourceยงimpl Clone for MmdsConfig
 
impl Clone for MmdsConfig
Sourceยงfn clone(&self) -> MmdsConfig
 
fn clone(&self) -> MmdsConfig
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSourceยงimpl Debug for MmdsConfig
 
impl Debug for MmdsConfig
Sourceยงimpl<'de> Deserialize<'de> for MmdsConfig
 
impl<'de> Deserialize<'de> for MmdsConfig
Sourceยงfn 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
Sourceยงimpl Hash for MmdsConfig
 
impl Hash for MmdsConfig
Sourceยงimpl Ord for MmdsConfig
 
impl Ord for MmdsConfig
Sourceยงfn cmp(&self, other: &MmdsConfig) -> Ordering
 
fn cmp(&self, other: &MmdsConfig) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for MmdsConfig
 
impl PartialEq for MmdsConfig
Sourceยงimpl PartialOrd for MmdsConfig
 
impl PartialOrd for MmdsConfig
Sourceยงimpl Serialize for MmdsConfig
 
impl Serialize for MmdsConfig
impl Eq for MmdsConfig
impl StructuralPartialEq for MmdsConfig
Auto Trait Implementationsยง
impl Freeze for MmdsConfig
impl RefUnwindSafe for MmdsConfig
impl Send for MmdsConfig
impl Sync for MmdsConfig
impl Unpin for MmdsConfig
impl UnwindSafe for MmdsConfig
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more