pub struct MeshDiscoveryConfig {
pub mdns_enabled: bool,
pub service_name: String,
pub interval: Duration,
}Expand description
Discovery settings for mesh peer discovery.
Fields§
§mdns_enabled: boolEnable mDNS-based peer discovery.
service_name: StringService name advertised during discovery.
interval: DurationDiscovery broadcast interval.
Trait Implementations§
Source§impl Clone for MeshDiscoveryConfig
impl Clone for MeshDiscoveryConfig
Source§fn clone(&self) -> MeshDiscoveryConfig
fn clone(&self) -> MeshDiscoveryConfig
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 MeshDiscoveryConfig
impl Debug for MeshDiscoveryConfig
Auto Trait Implementations§
impl Freeze for MeshDiscoveryConfig
impl RefUnwindSafe for MeshDiscoveryConfig
impl Send for MeshDiscoveryConfig
impl Sync for MeshDiscoveryConfig
impl Unpin for MeshDiscoveryConfig
impl UnsafeUnpin for MeshDiscoveryConfig
impl UnwindSafe for MeshDiscoveryConfig
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