artillery-core 0.1.2

Fire-forged cluster management & Distributed data protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::net::SocketAddr;

pub struct MDNSServiceDiscoveryEvent(pub SocketAddr);

unsafe impl Send for MDNSServiceDiscoveryEvent {}
unsafe impl Sync for MDNSServiceDiscoveryEvent {}

impl MDNSServiceDiscoveryEvent {
    pub fn get(&self) -> SocketAddr {
        self.0
    }
}