Struct libp2p_mdns::service::MdnsServiceDiscovery
source · [−]pub struct MdnsServiceDiscovery { /* private fields */ }
Expand description
A received mDNS service discovery query.
Implementations
sourceimpl MdnsServiceDiscovery
impl MdnsServiceDiscovery
sourcepub fn remote_addr(&self) -> &SocketAddr
pub fn remote_addr(&self) -> &SocketAddr
Source address of the packet.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MdnsServiceDiscovery
impl Send for MdnsServiceDiscovery
impl Sync for MdnsServiceDiscovery
impl Unpin for MdnsServiceDiscovery
impl UnwindSafe for MdnsServiceDiscovery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more