pub enum MdnsPacket {
Query(MdnsQuery),
Response(MdnsResponse),
ServiceDiscovery(MdnsServiceDiscovery),
}
Expand description
A valid mDNS packet received by the service.
Variants
Query(MdnsQuery)
A query made by a remote.
Response(MdnsResponse)
A response sent by a remote in response to one of our queries.
ServiceDiscovery(MdnsServiceDiscovery)
A request for service discovery.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MdnsPacket
impl Send for MdnsPacket
impl Sync for MdnsPacket
impl Unpin for MdnsPacket
impl UnwindSafe for MdnsPacket
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