Struct libp2p_mdns::service::MdnsQuery
source · [−]pub struct MdnsQuery { /* private fields */ }
Expand description
A received mDNS query.
Implementations
sourceimpl MdnsQuery
impl MdnsQuery
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 MdnsQuery
impl Send for MdnsQuery
impl Sync for MdnsQuery
impl Unpin for MdnsQuery
impl UnwindSafe for MdnsQuery
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