pub struct UdpFaceSystemConfig {
pub auto_multicast: bool,
pub ad_hoc: bool,
pub whitelist: Vec<String>,
pub blacklist: Vec<String>,
}Expand description
UDP multicast face auto-configuration ([face_system.udp]).
Fields§
§auto_multicast: boolCreate a MulticastUdpFace for every eligible interface at startup.
ad_hoc: boolAdvertise faces as AdHoc link type instead of MultiAccess.
Set to true for Wi-Fi IBSS (ad-hoc) or MANET deployments where not
all nodes hear every multicast frame. Strategies use this to disable
multi-access Interest suppression on partially-connected links.
whitelist: Vec<String>Interface name glob patterns to include (default: ["*"]).
blacklist: Vec<String>Interface name glob patterns to exclude (default: ["lo"]).
Trait Implementations§
Source§impl Clone for UdpFaceSystemConfig
impl Clone for UdpFaceSystemConfig
Source§fn clone(&self) -> UdpFaceSystemConfig
fn clone(&self) -> UdpFaceSystemConfig
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 UdpFaceSystemConfig
impl Debug for UdpFaceSystemConfig
Source§impl Default for UdpFaceSystemConfig
impl Default for UdpFaceSystemConfig
Source§impl<'de> Deserialize<'de> for UdpFaceSystemConfig
impl<'de> Deserialize<'de> for UdpFaceSystemConfig
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
Auto Trait Implementations§
impl Freeze for UdpFaceSystemConfig
impl RefUnwindSafe for UdpFaceSystemConfig
impl Send for UdpFaceSystemConfig
impl Sync for UdpFaceSystemConfig
impl Unpin for UdpFaceSystemConfig
impl UnwindSafe for UdpFaceSystemConfig
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