pub struct MulticastConfig {
pub group_v4: Ipv4Addr,
pub group_v6: Option<Ipv6Addr>,
pub port: u16,
pub interface_filter: InterfaceFilter,
pub node_info: MulticastNodeInfo,
pub allow_loopback_fallback: bool,
}Expand description
Configuration options for the multicast discovery service.
Fields§
§group_v4: Ipv4AddrMulticast IPv4 group address.
group_v6: Option<Ipv6Addr>Optional Multicast IPv6 group address.
port: u16UDP port to bind to (typically 53317).
interface_filter: InterfaceFilterInterface filtering rules.
node_info: MulticastNodeInfoSelf node announcement info.
allow_loopback_fallback: boolWhether to join the loopback interface as fallback if no physical interfaces are available.
Trait Implementations§
Source§impl Clone for MulticastConfig
impl Clone for MulticastConfig
Source§impl Debug for MulticastConfig
impl Debug for MulticastConfig
Auto Trait Implementations§
impl Freeze for MulticastConfig
impl RefUnwindSafe for MulticastConfig
impl Send for MulticastConfig
impl Sync for MulticastConfig
impl Unpin for MulticastConfig
impl UnsafeUnpin for MulticastConfig
impl UnwindSafe for MulticastConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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