pub struct FaceSystemConfig {
pub ether: EtherFaceSystemConfig,
pub udp: UdpFaceSystemConfig,
pub watch_interfaces: bool,
}Expand description
Face system auto-configuration.
Controls automatic creation of multicast faces on startup and dynamic
interface monitoring. When auto_multicast is enabled, the router
enumerates all eligible network interfaces at startup and creates one
multicast face per interface without requiring explicit [[face]] entries.
[face_system.ether]
auto_multicast = true
whitelist = ["eth*", "enp*", "en*"]
blacklist = ["docker*", "virbr*", "lo"]
[face_system.udp]
auto_multicast = true
ad_hoc = false
whitelist = ["*"]
blacklist = ["lo"]
[face_system]
watch_interfaces = true # Linux only; macOS/Windows: warning loggedFields§
§ether: EtherFaceSystemConfigEthernet (Layer-2) multicast face auto-configuration.
udp: UdpFaceSystemConfigUDP multicast face auto-configuration.
watch_interfaces: boolSubscribe to OS interface add/remove events and automatically create or destroy multicast faces as interfaces appear and disappear.
Linux: uses RTMGRP_LINK netlink.
macOS / Windows: unsupported — logs a warning and ignored.
Trait Implementations§
Source§impl Clone for FaceSystemConfig
impl Clone for FaceSystemConfig
Source§fn clone(&self) -> FaceSystemConfig
fn clone(&self) -> FaceSystemConfig
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 FaceSystemConfig
impl Debug for FaceSystemConfig
Source§impl Default for FaceSystemConfig
impl Default for FaceSystemConfig
Source§fn default() -> FaceSystemConfig
fn default() -> FaceSystemConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FaceSystemConfig
impl<'de> Deserialize<'de> for FaceSystemConfig
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 FaceSystemConfig
impl RefUnwindSafe for FaceSystemConfig
impl Send for FaceSystemConfig
impl Sync for FaceSystemConfig
impl Unpin for FaceSystemConfig
impl UnwindSafe for FaceSystemConfig
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