pub struct EtherFaceSystemConfig {
pub auto_multicast: bool,
pub whitelist: Vec<String>,
pub blacklist: Vec<String>,
}Expand description
Ethernet multicast face auto-configuration ([face_system.ether]).
Fields§
§auto_multicast: boolCreate a MulticastEtherFace for every eligible interface at startup.
An interface is eligible when it is UP, supports multicast, is not a
loopback, and passes the whitelist / blacklist filters.
whitelist: Vec<String>Interface name glob patterns to include (default: ["*"]).
Supports * (any sequence) and ? (one character).
Examples: "eth*", "enp*", "en0".
blacklist: Vec<String>Interface name glob patterns to exclude (default: ["lo"]).
Applied after the whitelist. Examples: "docker*", "virbr*".
Trait Implementations§
Source§impl Clone for EtherFaceSystemConfig
impl Clone for EtherFaceSystemConfig
Source§fn clone(&self) -> EtherFaceSystemConfig
fn clone(&self) -> EtherFaceSystemConfig
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 EtherFaceSystemConfig
impl Debug for EtherFaceSystemConfig
Source§impl Default for EtherFaceSystemConfig
impl Default for EtherFaceSystemConfig
Source§impl<'de> Deserialize<'de> for EtherFaceSystemConfig
impl<'de> Deserialize<'de> for EtherFaceSystemConfig
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 EtherFaceSystemConfig
impl RefUnwindSafe for EtherFaceSystemConfig
impl Send for EtherFaceSystemConfig
impl Sync for EtherFaceSystemConfig
impl Unpin for EtherFaceSystemConfig
impl UnwindSafe for EtherFaceSystemConfig
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